summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/cart/CartSummary.js
diff options
context:
space:
mode:
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)