CodePetals

Some Simple Tips and Tricks of Magento

Category

Magento

How to create Custom Domain for XAMPP ?

XAMPP is open source web server used to create local server on windows machine. To access your projects you must have used URLs like http://localhost/magento19/ . Custom domains for XAMPP can be setup to access projects. So that whenever www.example.com… Continue Reading →






Customize online Customer grid to show location in Magento Admin

Online Customers is added feature in Magento, which allows administrator to track Online customers, Last url visited and its IP Address. To use this feature, go to Admin Panel > System -> Configuration -> Advanced -> System -> Log and… Continue Reading →






Delete Products from Magento Programatically

Delete Product from Magento Using Zend method

Using phpMyAdmin Execute command in phpMyAdmin or SQLClient

This will also cascade all attributes from eav tables. PS: Ratings and Reviews will not be deleted in this method, as these tables… Continue Reading →






Read spreadsheets using PHPExcel library in Magento

PHPExcel is pretty much cool tool which provide classes to generate spreadsheets or excel sheets in your PHP projects. Unfortunately Magneto doesn’t support for .xls or .xlsx file types for import and export. It only supports .csv format, but working… Continue Reading →






Add same product as separate items in shopping cart

Cart item increases its quantity, when same product is added to cart again. But what if we need to add a custom option to cart item and show cart items in Shopping Cart separately. E.g. Customer needs to select Seller… Continue Reading →






Run Magento faster using REDIS cache

Redis is an open source, BSD licensed, advanced key-value store. It is also referred as a in-memory data structure that can optionally be used in Magento for back end and session storage. It supports data structures such as strings, lists,… Continue Reading →






Clear Magento Cache programatically

Magento cache does caching system at many levels from Zend Framework, so as to boost up your Magento e-commerce store. Magento Cache avoids repetitive operations for your Magento. Magento cache includes configuration files(config.xml, local.xml), html files, web services xml files… Continue Reading →






Magento unable to login to admin after install

Login attempted ? but Failed. Have you ever googled “Magento unable to login to admin after install“?. You must have ended up with commenting out few lines from 87 to 104 in “app\code\core\Mage\Core\Model\Session\Abstract\Varien.php” file. Very often we face the same… Continue Reading →






How to install APC (Alternative PHP Cache) for Magento ( nginx + PHP-FPM )

APC (Alternative PHP Cache / Opcode Cache) is a opcode cache which can be used to reduce Disk I/O by caching your PHP code as well as user variables and cutting down repetitive PHP scripts and executing database scripts ,… Continue Reading →






How to convert Dropdown attribute into Multiselect attribute in Magento

Sometimes we have face client requirement to change some dropdown attribute (select attribute) into multiselect options. After a lot of coding and template designing in Magento it may look like a tough job to do. So today we will learn… Continue Reading →






© 2017 CodePetals

Up ↑