{{#if paymentMessage}}

{{paymentMessage}}

{{/if}}
{{ @root.__ "Customer details" }} {{#unless session.customer}}

{{ @root.__ "Existing customer" }}

{{/unless}} {{#if session.customer}}
{{/if}}
{{> themes/Material/shipping-form}} {{#if session.customer}} {{#ifCond config.paymentGateway '==' 'paypal'}} {{> payments/paypal}} {{/ifCond}} {{/if}} {{#unless session.customer}}

{{ @root.__ "Enter a password to create an account for next time" }}

{{/unless}}
{{#if session.customer}} {{#ifCond config.paymentGateway '==' 'stripe'}} {{> partials/payments/stripe}} {{/ifCond}} {{#ifCond config.paymentGateway '==' 'authorizenet'}} {{> partials/payments/authorizenet}} {{/ifCond}} {{/if}}
{{> themes/Material/cart}}