diff --git a/app.js b/app.js index e10b6f0..0ac9704 100644 --- a/app.js +++ b/app.js @@ -96,6 +96,9 @@ handlebars = handlebars.create({ } return total; }, + partial: (provider) => { + return `partials/payments/${provider}`; + }, perRowClass: (numProducts) => { if(parseInt(numProducts) === 1){ return 'col-6 col-md-12 product-item'; diff --git a/views/themes/Cloth/checkout-payment.hbs b/views/themes/Cloth/checkout-payment.hbs index 2932922..c4eb204 100644 --- a/views/themes/Cloth/checkout-payment.hbs +++ b/views/themes/Cloth/checkout-payment.hbs @@ -52,27 +52,7 @@ {{/if}}