Save select attribute options magento

This tutorial explains how to create custom attribute and save select attribute options in magento. This module create the custom dropdown attribute and adds the options automatically.

In the previous tutorial I have explained how to create custom product dropdown attribute using the install script. Please check the above link for the file structure and step by step explanation.

Send files as attachment PHP

This post explains how to send files as attachment PHP. It sends all the files in folder as an attachment using PHP. Then how to move the files to an archive folder and delete the emailed files from the source or placeholder folder.

The following code can set as cron job as well. The cron that send multiple files as attachment together and moved the attached files from the original folder to the archive folder .

Import products magento script

This tutorial explains how to import products magento using script.Here products are importing from opencart to magento using the script.I have exported the following CSV files from the opencart backend.

This script import all the categories, attribute and the products to magento. Its also create the simple and configurable products and assign that to the new categories. Here I am also importing the related products as well.

Add main image, additional image magento products pro-grammatically

This tutorial I am explaining how to add main image, additional image magento products pro-grammatically. The following add product images to the magento products programmatically.

Here I am importing the data from the products.csv and get the product data from the CSV . Please click here to find how to read the data from the CSV or see the related links below.