Does anyone know an equivalent to the MovableType plugin FieldDay(https://github.com/movabletype/mt-plugin-field-day/wiki/Basics) for Magento. I need to be able to create multiple instances of product field sets. (i.e. multiple instruction blocks)
-
I dont see any difference between this and the Attributes set in Magento. You might not be aware of the use, but i think what you ask is doable with an attribute set. – mbalparda Aug 26 '14 at 19:01
-
So having multiple instances of an attribute set for a product set is possible? – Hadderach Aug 26 '14 at 19:03
-
You can have one attribute set per product if that is what you are asking. – mbalparda Aug 26 '14 at 19:27
2 Answers
You need to create a custom attribute, with a custom renderer.
You will find here an example about how to create an attribute that supports a custom renderer with 2 fields. You can extend that to support a dynamic number of fields.
You can also take a look at how the tire prices functionality is built. I think it's similar to what you need.
Magento allows to have multiple custom product fields (attributes) per product. See admin > catalog > manage attributes > attributes
As in one store you can sell different type of products, with different fields, magento allows for each product define it's own attribute set. See admin > catalog > manage attributes > attributes
When you creating or edit attribute, you can specify "Show on Product View Page" to be "Yes".
- 6,508
- 1
- 22
- 59
-
I think this would be more complicated than using new attributes. It'd be more like having more instances of a group of attributes (not like an attribute set that can get used only once). Example, I'd have a set of fields that would have "instruction" , "image", "link" as "instruction group". I may need to have multiple instances of this group for a product with ability to add or remove said instances at will. – Hadderach Aug 26 '14 at 20:37
-
What about grouping attributes by tabs like at our site http://amasty.com/magento-abandoned-cart-email.html ? Demo links, change log, description they all are just product attributes. – Amasty Aug 26 '14 at 20:56