Home / Tag Archives: Magento

Tag Archives: Magento

How to optimize magento code?

How to optimize magento code The code influences the speed of your site. The testing tool helps to gain insight into the specific process for Optimize magento code . Optimize magento code contains following points: Removal of unused or unnecessary code processes. To optimize Magento performance, JavaScript and CSS files …

Read More »

Please follow the following these steps to Create and Upgrade Database in Magento 2

Please follow the following these steps to Create and Upgrade Database in Magento 2: Install Schema Install Data Upgrade Schema Upgrade Data Magento 2 provides some classes in the directory app/code/[Namespace]/[ModuleName]/ Setup to create or upgrade database. InstallSchema – setup database structure InstallData – initial the data for database table. …

Read More »

Optimize log table of magento database

Optimize log table of magento database Optimize Magento Database table is one of a very important task of developer who maintain magento site. Let ‘s play around with the number relate to database size and performance because we need to know why we do cleaning magento database  table to get …

Read More »

Product is not showing on category page in magento 2.0.7

To show the product, check if the product following options: General->Status = Enabled general->Visibility = Catalog,Search Inventory->Qty > 0 Inventory->Stock Availability = In Stock Websites = checking your site Catgories = checking your category. If you want checking product to subcategory, go to Catalog->Manage Categories->Select your category, open tab Display …

Read More »

how to hack magento ecommerce website?

Find Hosted website FTP Details and Hosting Account Details Find Website Admin Details Find Credit Card Information

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 2 get custom category attribute

public function getCategoryCollection() { $collection = $this->_categoryCollection->create() ->addAttributeToSelect('*') ->addAttributeToFilter('is_home_category', '1'); return $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 »

Magento 2 Overview – Features, Reviews, Tutorials and Demo

Magento leading online business solution exists for 5 years. It has been downloaded over 5 million times, and now Magento 2.0 is on the way, so get ready for the New Year present..

Read More »

Engineer Sushil Kumar is Stephen Fry proof thanks to caching by WP Super Cache