We use cookies to make your experience better. To comply with the new e-Privacy directive, we need to ask for your consent to set the cookies. Learn more.
Monthly Archives: April 2015
- April 25, 2015 20
Here is the code for calling block in Magento:-
Module page
[php]
<?php echo $this->getLayout()->createBlock('newmodule/newblock')->setTemplate('newmodule/newblock.phtml')->toHtml();... - April 12, 2015 5
To convert the price to some other currency we need to select that currency in allowed currency and import currency rates from System->Manage currency ->Rates .
The... - April 12, 2015 16
[php]
$productId = 7; //product id of configurable product$_Product = Mage::getModel('catalog/product')->load($productId);
$simpleProducts = Mage::getModel('catalog/product_type_configurable')->getUsedProducts(null,$_product);...