summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/cart/CartSummary.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-07-15 10:11:33 +0200
committerJules Laplace <julescarbon@gmail.com>2019-07-15 10:11:33 +0200
commit4fad186834db37ae7f73c10b6e6ecce60762beaf (patch)
tree63ce552966290b0e19a2fcbcba86090af9b6cad5 /StoneIsland/www/js/lib/cart/CartSummary.js
parente86e539dd54dcf1e7a42d533d2fead3d10ed8067 (diff)
hub
Diffstat (limited to 'StoneIsland/www/js/lib/cart/CartSummary.js')
-rwxr-xr-xStoneIsland/www/js/lib/cart/CartSummary.js4
1 files changed, 2 insertions, 2 deletions
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)