{{#if pageCloseBtn}}
{{/if}}
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}} {{@key}}: {{this}} {{else}} {{@key}}: {{this}} / {{/if}} {{/each}}

{{currencySymbol ../config.currencySymbol}}{{formatAmount this.totalItemPrice}}
{{/each}} {{#if @root.session.cart}}
{{#ifCond @root.session.shippingCostApplied '===' true}}
Shipping: {{currencySymbol config.currencySymbol}}{{formatAmount @root.config.flatShipping}}
{{else}}
Shipping: FREE
{{/ifCond}}
Total: {{currencySymbol config.currencySymbol}}{{formatAmount @root.session.totalCartAmount}}
{{else}}
Cart empty
{{/if}}
{{#if @root.session.cart}}
{{#ifCond page '!=' 'pay'}}
{{#ifCond @root.page '==' 'checkout'}} Pay now {{else}} Checkout {{/ifCond}}
{{/ifCond}} {{/if}}