This little script is an excellent time saver for adding a new attribute to all of the attribute sets configured in your Magento store.

There are a few attributes to update:

  • Replace **ATTRIBUTE CODE** with the code of the attribute you wish to add.
  • Replace **ATTRIBUTE GROUP NAME** with the group name
  • Replace **SORT ORDER** with sort order you want it to display, as you’d expect.

Upload the script to the Magento root folder and hit with your browser.

Magento

Magento is a feature-rich ecommerce platform built on open-source technology that provides online merchants with unprecedented flexibility and control over the look, content and functionality of their ecommerce store.

About Magento Ecommerce · Magento Posts

Related Magento Posts

Getting Started with Magento Open Source

Magento Northern Ireland Open Source allows you to build a unique online store from the ground up. ## Standard Features Magento Open Source includes everything... November 2022 · Magento

Magento - WebP Image Format Conversion

An introduction to image optimisation in Magento Northern Ireland **[Image Optimisation](/web-image-formats)** is an increasingly important step improve page speed and search engine performance of your... September 2022 · Magento

Aheadworks switch to subscription model

Aheadworks will be removing Composer keys and download access for existing customers and switching entirely to a subscription model. From February 2022 Aheadworks announced it... March 2022 · Magento

More Magento Posts...