{{ @root.__ "Cart contents" }}
{{#each @root.session.cart}}
{{#if productImage}} {{this.title}} product image {{else}} {{this.title}} product image {{/if}}
{{this.title}}
{{#each this.options}} {{#if @last}} {{#upperFirst this.name}}{{/upperFirst}}: {{this.value}} {{else}} {{#upperFirst this.name}}{{/upperFirst}}: {{this.value}} / {{/if}} {{/each}}
{{#ifCond @root.cartReadOnly '!=' true}}
{{else}}
{{/ifCond}}
{{currencySymbol @root.config.currencySymbol}}{{formatAmount this.totalItemPrice}}
{{/each}}
{{#if @root.session.cart}}
{{#ifCond @root.session.totalCartShipping '>' 0}}
{{@root.session.shippingMessage}}: {{currencySymbol @root.config.currencySymbol}}{{formatAmount @root.session.totalCartShipping}}
{{else}}
{{@root.session.shippingMessage}}
{{/ifCond}} {{#ifCond @root.session.totalCartDiscount '>' 0}}
Discount: {{currencySymbol @root.config.currencySymbol}}{{formatAmount @root.session.totalCartDiscount}}
{{/ifCond}}
Total: {{currencySymbol @root.config.currencySymbol}}{{formatAmount @root.session.totalCartAmount}}
{{else}}
Cart empty
{{/if}}