{{#if pageCloseBtn}}
{{/if}}
Cart contents
{{#each 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 session.cart}}
{{#ifCond session.shippingCostApplied '===' true}}
Shipping: {{currencySymbol config.currencySymbol}}{{formatAmount config.flatShipping}}
{{else}}
Shipping: FREE
{{/ifCond}}
Total: {{currencySymbol config.currencySymbol}}{{formatAmount session.totalCartAmount}}
{{else}}
Cart empty
{{/if}}
{{#if session.cart}}
{{#ifCond page '!=' 'pay'}}
{{#ifCond page '==' 'checkout'}} Pay now {{else}} Checkout {{/ifCond}}
{{/ifCond}} {{/if}}