myshop-repeat:search-selection
Entity | Value |
---|---|
Attribute(s) | style |
Type | repeat loop |
Relation | myshop-search-field:value, myshop-search-field:value-max, myshop-search-field:label, myshop-not-has:search-field-max, myshop-has:search-field-max, { $SearchValue } |
The myshop-repeat:selection can be used to display the user’s search selection. The myshop-repeat:selection is a repeat loop within which the values of the search fields can be recalled one by one. The sequence of the fields is the same as in the default search block. Please find an example below.
<span style="myshop-repeat:search-selection">
<span style="myshop-has-value:search-field">
<span style="myshop-search-field:value"/>
</span>
<span style="myshop-has-value:search-field-max">
<span style="myshop-search-field:value-max"/>
</span>
</span>
Each search field enables the display of a field’s value with myshop-search-field:value or myshop-search-field:value-max – if a min/max value is concerned -. The label of a search field can be recalled withmyshop-search-field:label. The addition myshop-has-value:search-field and/or myshop-has-value:search-field-max the field can be checked for values entered.
Post your comment on this topic.