Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 33302

Magento Community version 1.9

10 votes
Accepted

How to get the previous url & redirect from controller

To get current URL in Magento use below code. $currentUrl = Mage::helper('core/url')->getCurrentUrl() But i think your requirement is to get the previous URL & redirect from controller. If it so us …
Akhil Gupta's user avatar
  • 1,956
5 votes
Accepted

Best way to Insert multiple new rows for custom module inside foreach loop

if we want to go with magento only then below code works great, I used $_model->unsetData(); i don't need to load model in foreach loop. $_model=>Mage::getModel(''); foreach($result as $data): $_m …
Akhil Gupta's user avatar
  • 1,956
3 votes

How to use single js/css file in frontend and backend in magento?

That's easy. Just follow below steps: Move v1.js in js directory as /js/v1.js Access this file from both frontend & backend using below command in your layout xml file > <action method="addItem"> …
Akhil Gupta's user avatar
  • 1,956
3 votes
Accepted

How to add a new field (or attribute) on Create Order Page in admin - magento 1.9?

First thing to understand is the create order page in admin comes from the layout adminhtml_sales_order_create_index All the order form fields comes in this layout only. Now just add this layout in …
Akhil Gupta's user avatar
  • 1,956
3 votes

Include category in search result

Hmm Big task..!! Not sure But this way could be quick & dirty way. You did not mentioned as what category attribute need to use to display category in search result. Let's suppose Category name is t …
Akhil Gupta's user avatar
  • 1,956
3 votes

magento image filename auto renaming

By default Magento added this check as if same file exist then rename it because there may be possibility admin can upload different image with same name. So as your requirement you need to do some c …
Akhil Gupta's user avatar
  • 1,956
3 votes

Approach to third party module customisation

Is there a way to override/make a higher priority file, instead of straight up editing the files ? "We should not modified third party modules or extensions just like we don't modify core files …
Akhil Gupta's user avatar
  • 1,956
2 votes

Base table or view not found: 1146 after new extension install

It seems the extension has to create one table affiliateplus_account but some how it couldn't. So this way you can proceed. Check sql folder in your extension module. There must be query to create …
Akhil Gupta's user avatar
  • 1,956
2 votes
1 answer
176 views

How to find what query executes while doing reindexing? [duplicate]

I have a custom module that added some re-indexing rows in System->Index Management. Currently its giving some issue. While doing it manually site goes down. Is there any way to find out what query …
Akhil Gupta's user avatar
  • 1,956
2 votes
1 answer
899 views

Magento 1.9 : How to cache custom module or extension

I never worked to cache Magento modules before. Now going to do for the first time so i have three questions regarding cache. What are the complete steps to cache a module? Any caching types are the …
Akhil Gupta's user avatar
  • 1,956
2 votes
3 answers
2k views

Magento 1.9: Merge CSS breaking frontend UI

Recently I tried enabling CSS merge inside System->Configuration->Developer But this is breaking complete UI in front end. ** It seems like CSS os having issues & I have to make CSS error free**. Ca …
Akhil Gupta's user avatar
  • 1,956
2 votes
Accepted

Magento table rate cached or not

First connect sql & check if the shipping_tablerate table is having same data as you expect. If yes then try refreshing cache instead flushing. If still no result, then some custom module conflict …
Akhil Gupta's user avatar
  • 1,956
2 votes
2 answers
5k views

Best way to Insert multiple new rows for custom module inside foreach loop

To insert multiple records inside foreach loop we have two options: example: foreach($result as $data): $_model=>Mage::getModel(''); $_model->setField1() $_model->setField2() $_model->setField3( …
Akhil Gupta's user avatar
  • 1,956
1 vote
Accepted

How to add custom field in custom module form like a tier price in product

Two ways you could implement that: To add fields same like tier price you could took help with this section itself. The below files using for tier price type of fields /app/code/core/Mage/Adminhtm …
Akhil Gupta's user avatar
  • 1,956
1 vote

should I upgrade the version to 1.9 or should I write a custom extension?

You should write a custom extension or find out if the same extensions is already available on Magento connect Upgrading magento may have some issues like Third party extensions you used in your we …
Akhil Gupta's user avatar
  • 1,956

1
2 3 4 5
7
15 30 50 per page