Category: Magento Tutorials

Upgrade product attribute magento

This tutorial explains how to upgrade product attribute magento using the install script.In the previous tutorial I have explained how to create the custom product attribute.Please click here for the file structure and step by step explanation.If you want to create custom dropdown attribute with options please click here.

In the previous tutorial I have created Burn time custom dropdown attribute. Here I am upgrading the product attribute type to multiselect input type .

Create ,update static blocks magento script

This tutorial explains how to create and update static blocks using the magento scripts.For that I have create a file in the magento root folder. Then I have created an array which contains the details of the static block as shown below.

If we are creating the CMS blocks using the script it is easy to move the blocks from the develop database to live database without redoing those changes in the magento backend.

Create custom attribute source type magento

This tutorial explains how to create custom attribute source type in magento. Here I am creating an attribute and set the source type as categories in the product page.

This module creates a dropdown attribute and listed all the categories in the category section as the options.This dropdown options change dynamically based on the categories in the category section.