Entity Value
Attribute(s) style
Type repeat loop
Relation myshop-value:label, myshop-value:control, myshop-is:required-field

The myshop-repeat:customer-fields and myshop-repeat:customer-fields-delivery extension can be used to display all the address related labels and controls on the address page and labels and values on the approval and confirmation pages. For each customer field (as set in the editor) the code within the repeat is displayed. To check if the current field is required or not, themyshop-is:required-field exists. The code within that condition is only displayed when the current customer field is required (fields can be set to be required in the editor). Especially for the address page, it is possible to show the delivery fields only when the user request so by using a radio button control. For more information, see myshop-value:delivery-selection-control.

Example for use on the address page (showing the billing labels and controls):

<tr style="myshop-repeat:customer-fields">          
<span style="myshop-value:label"/><span style="myshop-is:required-field">*</span>&nbsp;     
<span style="myshop-value:control"/>        

Example for use on the approval or confirmation pages (showing the delivery labels and values):

4 :
<tr style="myshop-repeat:customer-fields-delivery">         
<span style="myshop-value:label"/>:&nbsp;           
<span style="myshop-value:value"/>          

In order to have more flexibility in the markup of the customer-fields, it is possible to display them separately without the use of this repeat loop. See for more detail about this extension the help page about myshop-value:customer-field.


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment