myshop-block:product

Entity Value
Attribute(s) style
Type container
Relation myshop-value:< n >, myshop-label:< n >

This indicated the beginning of the definition of a product. Within a myshop-block:product the layout of a product may be defined. Within the scope of a product it is possible to recall the value of a field with the aid of myshop-value, see example below.

<table border="0" style="myshop-block:productlist">
        <tbody>
                <tr style="myshop-block:product">
                        <td style="myshop-label:1"/>
                        <td style="myshop-value:1;font-size:10;font-weight:bold"/>
                </tr>
        </tbody>
</table>

In case a moreinfo screen is used it is also possible to implement the myShop addition myshop-block:product at the same time. The definition of myshop-block:productlist is no longer necessary as there it concerns only one product, see example below.

<table style="myshop-block:product" border="1">
        <tr>
                <td style="myshop-label:1;font-weight:bold"></td>
                <td style="myshop-value:1;color:red"></td>
        </tr>
        <tr>
                <td style="myshop-label:2;font-weight:bold"></td>
                <td style="myshop-value:2"></td>
        </tr>
</table>

Added support for a group reduction list in the product list. The group reduction list can be used within the scope of a myshop-block:product extension.

Example product list template with myshop-repeat:group-reduction-list:

<div style="myshop-block:productlist;" id="myshp_list">
<div class="myshp_list_spacer" name="myshp_list_spacer"></div> <div class="myshp_list_row">
<span style="myshop-repeat:product-columns;">
<div style="myshop-block:product;" class="myshp_list_product">
<div class="myshp_checkout_info_block" style="myshop-has:group-reduction"> <table class="myshp_checkout_orderpage_reductions" border="0" cellspacing="0" cellpadding="1" width="100%">
<tr>
<td valign="top"><span style="myshop-resource:label.min">min</ span></td>
<td valign="top"><span style="myshop-resource:label.max">max</ span></td>
<td valign="top"><span style="myshop-resource:price">prijs</span></ td>
</tr>
<tr style="myshop-repeat:group-reduction-list">
<td valign="top"><span style="myshop-value:start-range">&nbsp;</ span></td>
<td valign="top">&nbsp;- &nbsp;<span style="myshop-value:end- range">&nbsp;</span></td>
<td valign="top"><span style="myshop-value:inc-vat-price- formatted">&nbsp;</span></td>
</tr>
</table>
</div>
</div></span></div></div>

Feedback

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