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

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