myshop-block:basket
Entity | Value |
---|---|
Attribute(s) | style |
Type | container |
Relation | myshop-not-has:products, myshop-has:products -1, myshop-has:products, myshop-value:count |
With the addition myshop-block:basket it is possible to include a block in a product list template. This block contains information about the number of products then present in the shopping basket. Helped by a number of extra additions within the context of myshop-block:basket the text displayed can be completely adapted to your wishes in the following situations:
- no products in shopping basket
- one product in shopping basket
- more than one product in shopping basket
The examples below are in more detail.
<table width="100%">
<tr>
<td>
<span style="myshop-block:basket">
<span style="myshop-not-has:products">de winkelwagen is leeg</span>
<span style="myshop-has:products-1">er bevindt zich één product in de winkelwagen</span>
<span style="myshop-has:products">er bevinden zich <b><span style="myshop-value:count"/></b>
producten in de winkelwagen</span>
</span>
</td>
</tr>
</table>
Post your comment on this topic.