SpecificationsType¶
The Field Type stores a structured list of attributes for products:
Field naming
A Field of the SpecificationsType must have ses_specifications
as its Field identifier.
The data is stored in JSON format.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
|
Adding a unit selection¶
The optional option
attribute enables you to add a select field offering e.g. a selection of units:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
|
Adding default values¶
The Field Type uses a configuration that controls which groups are offered. You can also provide default attributes:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|
Template¶
IbexaPlatformCommerceFieldTypesBundle::sesselectiontype_content_field.html.twig