myshop-value:control
Entity | Value |
---|---|
Attribute(s) | style |
Type | value |
Relation | orderpage; myshop-repeat:selections; myshop-repeat:shipping-cost-list; myshop-repeat:payment-method-list; myshop-repeat:customer-fields; myshop-repeat:order-fields; |
Themyshop-value:control is a myshop-value extension with which a control element (button, drop-down list, checkbox etc.) can be created within the context of a repeat loop. Which control will be created depends on the type of repeat loop and which item is being displayed within that loop.
This control can be used with the following repeat loops:
Selections
Within the loop myshop-repeat:selections this extension will create a drop-down box with the values available for the different product variations (e.g. sizes/colors), if available.
Shipping cost
Within the loop myshop-repeat:shipping-cost-list this extension will create a radio button for each shipping method which allows to select one of them.
Payment method
Within the loop myshop-repeat:payment-method-list this extension will create a radio button for each payment method which allows to select one of them.
Customer fields
Within the loop See “myshop-repeat:customer-fields/customer-fields-delivery” this extension will create a suited control for each customer-field, these controls can be changed in the editor, see link-to-naw-settings-editor.
Order fields
Within the loop myshop-repeat:order-fields this extension will display the control for an order-field. The value of this control is used for the order when the order is submitted.
Post your comment on this topic.