Home / Magento (page 2)

Magento

April, 2016

  • 30 April

    Error when reindexing Catalog URL Rewrites in magento admin

    An error occurred while saving the URL rewrite magento

    Error when reindexing Catalog URL Rewrites in magento admin. Follow the following steps for the reindexing Catalog URL Rewrites in magento. Open CMD or Xampp Shell Command window. see image given below[/accordion][accordion title=” Connect with database phpmyadmin MySQL.”] command is: mysql -u root -p pres enter after asked password then …

March, 2016

  • 31 March

    How to Secure Your Magento Admin to Restrict Access to Specific IP Address with HTACCESS?

    How to Secure Your Magento Admin to Restrict Access to Specific IP Address with HTACCESS? Copy the code and past in .htaccess file and change the ip with you. RewriteCond %{REQUEST_URI} ^/(index.php/)?admin/ [NC] RewriteCond %{REMOTE_ADDR} !^196.196.196.196 RewriteRule ^(.*)$ http://%{HTTP_HOST}/ [R=302,L] Example: RewriteCond %{REQUEST_URI} ^/(index.php/)?youradminname/ [NC] RewriteCond %{REMOTE_ADDR} !^ change here …

January, 2016

  • 15 January

    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 …

  • 15 January

    Magento 2 get custom category attribute

    public function getCategoryCollection() { $collection = $this->_categoryCollection->create() ->addAttributeToSelect('*') ->addAttributeToFilter('is_home_category', '1'); return $collection; }

  • 15 January

    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 …

  • 13 January

    COMPARE MAGENTO 1 VS MAGENTO 2 TECHNOLOGY

  • 10 January

    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..

0

February 28, 2017

Clear all

Warning: Cannot modify header information - headers already sent by (output started at /home/u797196687/public_html/wp-content/plugins/google-analytics-dashboard-for-wp/front/tracking/code-universal.php:21) in /home/u797196687/public_html/wp-content/plugins/wppush-push-notifications/WPPush.php on line 274