Home / Tag Archives: Magento 2

Tag Archives: Magento 2

Magento 2 Architecture Diagram

magento-2-architecture-diagram

Magento 2 is the latest CMS (MVC)  Platform of the leading enterprise-class eCommerce platform, utilised by over 200,000 online retailers. In fact, it’s estimated that 1 in 4 businesses are using the Magento software.It’s easy to see why.     What is Magento? Magento is a highly customizable e-commerce platform and …

Read More »

Create swtch color on product list page in Magento

Copy and past the code . where you want to display color  below the name or above the name. follow the following steps: images updated in configurable simple product  acording to color . Change Visibility *: catalog search  List.phtml <? if($_product->getTypeId() == "configurable"): $conf = Mage::getModel('catalog/product_type_configurable')->setProduct($_product); $simple_collection = $conf->getUsedProductCollection()->addAttributeToSelect('*')->addFilterByRequiredOptions(); foreach($simple_collection …

Read More »

Magento: How to check if current page is homepage?

1.) // Put your homepage-only code in here. 2.) if($this->getIsHomePage()) { echo 'You are in Homepage!'; } else { echo 'You are NOT in Homepage!'; } 3.) $routeName = Mage::app()->getRequest()->getRouteName(); $identifier = Mage::getSingleton('cms/page')->getIdentifier(); if($routeName == 'cms' && $identifier == 'home') { echo 'You are in Homepage!'; } else { echo …

Read More »
0

December 10, 2016

Clear all