项目作者: empiricompany

项目描述 :
🔧 Magento module extension that adds a new custom attribute to store key=>value data as an array
高级语言: HTML
项目地址: git://github.com/empiricompany/empiricompany_attributearray.git
创建时间: 2017-11-08T19:29:39Z
项目社区:https://github.com/empiricompany/empiricompany_attributearray

开源协议:GNU General Public License v3.0

下载


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:

  1. app/design/frontend/base/default/template/attributearray/render.phtml
  2. 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

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

For a clean uninstall you have to update attribute to user_defined

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

then you can remove it from magento backend.