It is pretty common magento error. Even if you yourself don’t use helper, Magento admin does. You should always create helper class in your custom module. File location depends on module code pool and could be located in ….
read moremagento
Slider Revolution Responsive Magento Extension Release
Good news everyone! Most popular slider plugin Slider Revolution Responsive WordPress Plugin now available for Magento platform as Slider Revolution Responsive Magento Extension. Slider Revolution plugin is slides display solution that works with all possible types of content with easy to customize styles, transitions, effects and animations. With this extension you can build responsible or […]
read moreGenerate Magento translation CSV file
We know that Magento provides great feature for translation of text strings in code. Such content that needs to be localized for different store views is outputted through __() helper function. It will search for data loaded from locale translation .csv file and if found match for current store view it will be replaced with it…
read moreNew products block does not change currency
Magento has default new products block. It can be added to cms home page via shortcode. However, if you have multiple currencies and try to switch to different currency new products still show price in old one. This happens due to block cache…
read moreGetting products by attribute or category in Magento
Like all other items in Magento store products have its own model and collection that can be used for getting list of products. So basic thing we do is getting instance of products collection: … At the same time we can specify which product attributes we want to get. For this we can use addAttributeToSelect method. You can specify them separately in each method or pass array as argument
read moreMagento not working in iframe?
If you try to load your store in iframe and did not successed you definitely has X-Frame-Options issue that is caused by new magento option that disable embedding. Magento team has added a new setting in Magento 1.9 Community Edition and Magento Enterprise Edition 1.14 : Allow Magento Frontend to run in frame. It is […]
read moreCustom module development: basic errors
Magento custom module development has tricky parts that are not obvious for inexperienced developer. For example: you have created a router, but get 404 page you have created a layout, but page content is empty you have added new block to layout, but page is still empty There are no errors on frontend and logs […]
read moreadminhtml.xml in details
At the beginning there was config.xml. It contain module configuration information for all “areas”, like frontend, adminhtml, global etc. Since magento does consist of a lot of modules resulting configuration object has rather big size. To reduce its size and speed up frontend developers decide to separate admin information from config.xml. adminhtml.xml was presented in […]
read moreAdding javascript in Magento head block
Sometimes when working with Magento you’ll want to add some Javascript code. It could be third party library or your own custom code. Lets see the ways of adding javascript in Magento. In most cases your Javascript code you want to include to your Magento theme or extension are located or can be placed in […]
read more