LearningSalesForceCommerceC.../the_learning_cartridge/cartridge/templates/default/simplebasket.isml

19 lines
533 B
Plaintext

<div class="container">
<isif condition="${pdict.basket.allProductLineItems.length > 0}">
<ul class="list-group">
<iscomment>Assign product line item to variable product</iscomment>
<isloop items="${pdict.basket.allProductLineItems}" var="product">
<li class="list-group-item">
${product.productName} - ${product.price}
</li>
</isloop>
</ul>
<iselse/>
Your Basket is empty.
</isif>
</div>