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%">
                        <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>
                                &nbsp;producten in de winkelwagen</span>


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