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.

Add custom product attributes Magento

In this tutorial explains how to add a featured product custom attribute field to the product section using the install script.Please also refer the tutorial which explains how to add custom options to the dropdown.

You can also add the attribute to product page using the magento backend Manage Attribute section.But if you add using the setup script it easy to move files from the development database to live without copy the database changes manually.

Import categories magento Programmatically

This tutorial explains how to read the data from the CSV file and import categories magento Programmatically.

This program reads the data from the CSV (fig 1) and create the categories as (fig 2) shown below.Please click here to download categories.csv

This tutorial is based on Magento version 1. Please click here to refer the tutorial which explains how to import categories in magento 2 programmatically.