summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/products/ProductView.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/lib/products/ProductView.js')
-rwxr-xr-xStoneIsland/www/js/lib/products/ProductView.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/products/ProductView.js b/StoneIsland/www/js/lib/products/ProductView.js
index 484cd442..5cfb0b50 100755
--- a/StoneIsland/www/js/lib/products/ProductView.js
+++ b/StoneIsland/www/js/lib/products/ProductView.js
@@ -50,6 +50,7 @@ var ProductView = ScrollableView.extend({
color: null,
code: null,
is_onesize: false,
+ fitLargeCodes: {},
sizes: null,
colors: null,
@@ -152,6 +153,8 @@ var ProductView = ScrollableView.extend({
this.item = data
this.details = details['Item']
this.code = data['DefaultCode10']
+
+ console.log( data['DefaultCode10'] )
this.$num.html(num)
this.$title.html(title)
@@ -159,6 +162,10 @@ var ProductView = ScrollableView.extend({
this.$price.html(price)
this.$body.html(body)
+ var fits_large = !! this.fitLargeCodes[this.code]
+ app.product.$fit.toggle( fits_large )
+ app.product.$sizing.toggle( fits_large )
+
this.showFooter()
this.deferScrollToTop()