Some Simple Tips and Tricks of Magento



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 →

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 →

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 →

How to create custom log in Magento ?

By default Magento writes all logs in var/log/System.log almost all of the logs of Magento are being written in this file. So if you are creating a new extension and to debug some passing variables, you can create your own… Continue Reading →

How to setup Prestashop on Windows with XAMPP

Are you new to Prestashop? Lets install Prestashop on Windows with XAMPP. Before you start installing Prestashop on Windows with XAMPP, you need to Install XAMPP on Windows Download Prestashop (Prestashop can be downloaded from here ) Prerequisites Web server:… Continue Reading →

How to create invoice in pending state and change state or capture payment later in Magento

By default in Magento if you create invoice of an order, it gets created in “complete” state. If you want to add an invoice in Magento and capture the payment later (online/offline), you can follow below steps. By this, invoices… Continue Reading →

Display custom Product Stock level in Magento storefront

It is very important to attract customers in your Magento website by showing products stocks. By the display of quantities, Customers are forced to place an order before product go out of stock and also Customers get to know the… Continue Reading →

How to upgrade Magento and its extensions ?

Upgrading Magento is a tricky one and while doing so you need to very be cautious. The most important thing you need to do to upgrade Magento is that before making any changes, take backup of everything as Upgrading Magento is vital both… Continue Reading →

© 2018 CodePetals

Up ↑