Which block is responsible for rendering javascript in Magento?
Mage_Page_Block_Html_Head addJs(), addJsIe(), addItem(), getCssJsHtml()
Continue ReadingMage_Page_Block_Html_Head addJs(), addJsIe(), addItem(), getCssJsHtml()
Continue ReadingMage_Core_Controller_Varien_Action::loadLayout() Mage_Core_Model_Layout::__construct() Mage_Core_Model_Layout_Update::load()
Continue ReadingThe only DDL class in Magento is Varien_Db_Ddl_Table. The DDL class consists of a const variable corresponding with types of data (Boolean, small int, integer) and some keywords in SQL (CASCADE, RESTRICT,…) The DDL class includes functions to work with the Table object in the database such as: addColumn() addForeignKey() addIndex() Some important functions in the DDL class: addColumn($name, $type, …
Continue ReadingIt is very simple. Please check your root, password and database.
Continue ReadingIt is very simple. // without currency $actualPrice = $product->getPrice(); // with currency $actualPrice = Mage::helper(‘core’)->currency($product->getPrice(),true,false); Get Special Price // without currency $specialPrice = $product->getFinalPrice(); // with currency $specialPrice = Mage::helper(‘core’)->currency($product->getFinalPrice(),true,false);
Continue ReadingIt is very simple. please check below: <?php echo Mage_Catalog_Block_Product::getPriceHtml($_product, true) ?>
Continue ReadingIt very simple. Please the following files and folders need their permissions with 777 /var/.htaccess /app/etc /var
Continue ReadingFatal error: Unsupported operand types in /public_html/app/code/core/Mage/ImportExport/Model/Export/Entity/Product.php on line 657 It has very simple solution. Please follow below step. Just open /app/code/core/Mage/ImportExport/Model/Export/Entity/Product.php file Find : $dataRow += $stockItemRows$productId; Replace with : $dataRow = array_merge($dataRow,$stockItemRows$productId); Enjoy it.
Continue ReadingSearch Engine Optimization (SEO) is a set of actions merchants take to make sure their e-commerce store shows up when customers search for their products through a search engine, whether it be Google or any other search engine. This can make a big difference in your strore’s visibility and sales. Ragan.com, specializing in communications, put together key points that cleary …
Continue ReadingCalculating the size of an array on each iteration of a loop SQL queries inside a loop Loading the same model multiple times Redundant data set utilization Inefficient memory utilization
Continue Reading