From 4fad186834db37ae7f73c10b6e6ecce60762beaf Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 15 Jul 2019 10:11:33 +0200 Subject: hub --- StoneIsland/www/js/lib/cart/CartSummary.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'StoneIsland/www/js/lib/cart/CartSummary.js') diff --git a/StoneIsland/www/js/lib/cart/CartSummary.js b/StoneIsland/www/js/lib/cart/CartSummary.js index 0a45d937..bf150791 100755 --- a/StoneIsland/www/js/lib/cart/CartSummary.js +++ b/StoneIsland/www/js/lib/cart/CartSummary.js @@ -75,7 +75,6 @@ var CartSummary = ScrollableView.extend({ this.$rows.append($el) app.product.find(code, function(data, details){ // console.log(data, details) - var descriptions = app.product.get_descriptions( details ) // console.log(descriptions) @@ -110,7 +109,8 @@ var CartSummary = ScrollableView.extend({ var t = this.template .replace(/{{image}}/, sdk.image(item['Code10'], '11_f')) - .replace(/{{sku}}/, num) + .replace(/{{sku}}/g, num) + .replace(/{{code8}}/g, data['Code8']) .replace(/{{title}}/g, title) .replace(/{{cleantitle}}/g, stonewash(title)) .replace(/{{type}}/, type) -- cgit v1.2.3-70-g09d2