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>
Post your comment on this topic.