Bulk Email Script in PHP and MySQL Database
Here, I will show how we can send an email to multiple receiver by PHP script. This script also show how can we send bulk if we have server limitation to send particular number...
Collection of Thoughts
Here, I will show how we can send an email to multiple receiver by PHP script. This script also show how can we send bulk if we have server limitation to send particular number...
Magento get CMS page content anywhere on the site without header and footer using below script. You may need to do this for displaying CMS page on part of the page, like popup or...
Below Code will remove automatically product items from shopping cart page which are out of stock In config.xml file: In Observer.php file: Enjoy…..:)
Magento get all the attribute values you have in the store. Get all the colors and sizes values in Magento. Change the attribute name to whatever you want values for, in the below script....
Get real IP address if your server or customer is behind a proxy network. Magento have function Mage::helper(‘core/http’)->getRemoteAddr(); to get client IP address, but it gives proxy IP address instead of real IP if...
I found this out while scouring the net on my quest for all my other recent problems. Zend has a built in barcode generation class, Zend_Barcode. Then googling php image output, I put together...
To add Magento’s layered navigation to a CMS page where you’re showing items simply edit your CMS page in the admin – under the “Design” tab put this code: This will show the layered...
There are several methods used for overriding magento core files. Here I’m going to explain one of simplest method to override core files in magento. In this method to override magento core files, you...
First take backup of your database before run this script. Did you ever had a problem where you can not see all available categories in “Categories” tab while editing a product? Does your Indexer...
PHP Mailer is a PHP class for PHP that provides a package of functions to send email. It is an efficient way to send e-mail within PHP. The following are some features of PHPMailer:-...
Here is the code to delete all shopping cart items of currently logged in single customer:- $cart = Mage::getSingleton(‘checkout/cart’); $quoteItems = Mage::getSingleton(‘checkout/session’) ->getQuote() ->getItemsCollection(); foreach( $quoteItems as $item ){ $cart->removeItem( $item->getId() ); } $cart->save();...
This tutorial will show you how to show custom options quantity in product management grid in Magento When you go to Catalog –> Manage Products, in grid only total qty is displayed. Our requirement...
For the attributes which have a frontend type “Select” we need to define options that on the product page converted into a dropdown. For example attribute color may have options Red, Green, Blue etc....
To get all the details of the category by the category id. This function return category object.
Magento offers Custom Layout Update in the CMS page, that allows to add or remove any dynamic or static block in the CMS page. For example on the Home page we display featured products...
Magento category listing is ordered by ascending by default installation. Under the attribute settings, we can easily manage the element listing used to sort the products, but changing the sort order to descending requires...
Path hints is a very useful tool for Magento Theming as it let us know where exactly we have to go. It’s easy for front-end to enable the path hints and locate the template...
In Magento modules, system.xml file is used to create admin configuration tabs and options. Magento’s great feature allows developers to create advanced configurable modules in a little time. At the run time Magento collects...
This method returns all category ids of the product as array. Remember it only returns an array of product categories and not the category details.
Magento is a complete and awesome MVC application. It’s fully moduler and easy to extend its features and functionality. All the CRUD operations are performed using the modules, model classes. But many a time...