Skip to content

🔧 OpenMage / Magento 1.9 module extension that adds a new custom attribute to store key=>value data as an array

License

Notifications You must be signed in to change notification settings

empiricompany/empiricompany_attributearray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenMage / Magento 1.9 Product Attribute Table

Backend
Demo Frontend
Demo

This extension allow you to store complex data, like an html table, as a structured array values.

Adds a new special attribute to products named "attributearray" and creates an additional tab named "Additional Details" then adds it to "Default" attribute set.

Backend side you can edit this value adding rows to a dynamic table like label => value. Frontend side is added a new tab that prints this values as an html table by default.

You can override this template by copy it in your theme and editing it to match yours needs:

app/design/frontend/base/default/template/attributearray/render.phtml
app/design/frontend/{package}/{theme}/template/attributearray/render.phtml

You can install it with modman or just copy app/ directory in magento root folder.

Modman install

modman clone https://github.com/empiricompany/empiricompany_attributearray.git

For a clean uninstall you have to update attribute to user_defined

UPDATE `eav_attribute` SET is_user_defined = 1 WHERE attribute_code = 'attributearray';

then you can remove it from magento backend.

About

🔧 OpenMage / Magento 1.9 module extension that adds a new custom attribute to store key=>value data as an array

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published