This tutorial I am explaining how to import tier prices magento. Tier pricing gives a quantity discount from the catalog list and product detail pages. The discount can be applied to a specific store view or customer group .
In this example I reading the tier prices from the discounts file which I exported from the opencart.
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.
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 .
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.