summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/js/lib/cart/CartSummary.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-09-03 15:18:23 +0200
committerJules Laplace <julescarbon@gmail.com>2019-09-03 15:18:23 +0200
commit6f2af841c17ff4ed28d40121114825a40e8cf6fa (patch)
tree5cc68e65c61e85ada066e45cf62805b60b24cf67 /StoneIsland/platforms/ios/www/js/lib/cart/CartSummary.js
parentbea0583348a3e7de85d4fed5e7fe206fb90fcc73 (diff)
updating rems
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/lib/cart/CartSummary.js')
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/cart/CartSummary.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/StoneIsland/platforms/ios/www/js/lib/cart/CartSummary.js b/StoneIsland/platforms/ios/www/js/lib/cart/CartSummary.js
index 9b5da7b7..bf150791 100755
--- a/StoneIsland/platforms/ios/www/js/lib/cart/CartSummary.js
+++ b/StoneIsland/platforms/ios/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,8 +109,10 @@ var CartSummary = ScrollableView.extend({
var t = this.template
.replace(/{{image}}/, sdk.image(item['Code10'], '11_f'))
- .replace(/{{sku}}/, num)
- .replace(/{{title}}/, title)
+ .replace(/{{sku}}/g, num)
+ .replace(/{{code8}}/g, data['Code8'])
+ .replace(/{{title}}/g, title)
+ .replace(/{{cleantitle}}/g, stonewash(title))
.replace(/{{type}}/, type)
.replace(/{{size}}/, size_name)
.replace(/{{color}}/, color_name)