Creating a store view for a language is not too hard, but you shouldn’t have any problem doing it in…
2013 June
This is a pretty easy one, but it’s something that can come in very handy at times. Say you want…
In Magento, whenever you make changes to products, static blocks, etc, it recognizes that the data in the database is…
Somewhere around Magento 1.5, message from the title of this post begun to pop on every product save.Although quite anoying,…
Add the below code in the catalog.xml in the product view section <block type=”review/product_view_list” name=”product.info.product_additional_data” as=”reviews” template=”review/product/view/list.phtml”> <block type=”review/form” name=”product.review.form”…
simply delete the files and folder from the var/cache folder and var/sessions folder and then try.It will work.
below is the code to show magento pages in a drop down box <select name=”page”> <?php foreach (Mage::getResourceModel(‘cms/page_collection’) as $page){…
Here is the code to get the cms block in magento front end. $this->getLayout()->createBlock(‘cms/block’)->setBlockId(‘blockidentifier’)->toHtml() In the editor you can simply…
Here is the code to add category filter on the product collection $productcollection = Mage::getModel(‘catalog/product’)->getCollection();$productcollection = $productcollection->addCategoryFilter(Mage::getModel(‘catalog/category’)->load($currcategory),true);$productcollection = $productcollection->addAttributeToFilter(‘special_price’, array(‘gt’…
Get title <?=Mage::getSingleton(‘cms/page’)->getTitle()?> Get Identifier <? echo Mage::getBlockSingleton(‘cms/page’)->getPage()->getIdentifier()?> Get Page ID <? echo Mage::getBlockSingleton(‘cms/page’)->getPage()->getId()?>