CodePetals

Some Simple Tips and Tricks of Magento

Month

June 2016

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 →

© 2017 CodePetals

Up ↑