Installing Custom Attributes with Your Module

Last modified by harikaram on Fri, June 25, 2010 09:06
Source|Old Revisions  

This is an old revision of the document!


This is a quick tutorial on how to install custom product attributes (eav attributes) with your module. It can easily be adapted for other entities’ attributes. It’s also a good starting point for general install scripts.

Introduction

Mage includes the ability to run custom scripts with your module. On loading of the Mage application, scripts in the *sql/mymodule_setup/* (eg “mysql4-install-0.9.0.php”) folder of your module are run if the version number represents the current module version. which are named like are check




 

Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs