diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-01-22 02:06:23 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-01-22 02:06:23 +0100 |
| commit | 156de7d1875e0622a1d9d9493cb60be6858c5009 (patch) | |
| tree | 4db85263c12889b684eea58050d86db44f9df826 /StoneIsland/www/js/lib/products/ProductView.js | |
| parent | 44c3c894e031f950303725abaafbb70a5f0d2654 (diff) | |
v1.5.0 fixing cart issues
Diffstat (limited to 'StoneIsland/www/js/lib/products/ProductView.js')
| -rwxr-xr-x | StoneIsland/www/js/lib/products/ProductView.js | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/StoneIsland/www/js/lib/products/ProductView.js b/StoneIsland/www/js/lib/products/ProductView.js index 34f7927e..d467fbdd 100755 --- a/StoneIsland/www/js/lib/products/ProductView.js +++ b/StoneIsland/www/js/lib/products/ProductView.js @@ -236,14 +236,10 @@ var ProductView = ScrollableView.extend({ } this.$extraMessage.hide() - if (data['C10Attributes'] && data['C10Attributes'].length) { - data['C10Attributes'].forEach(function(attr){ - if (attr['Key'] === 'Limited_Edition') { - this.$extraMessage.html(stripHTML( attr['Value'] )) - this.$extraMessage.show() - app.footer.show(stripHTML( attr['Value'] )) - } - }.bind(this)) + if (descriptions['Limited_Edition']) { + this.$extraMessage.html(stripHTML( descriptions['Limited_Edition'] )) + this.$extraMessage.show() + app.footer.show(stripHTML( descriptions['Limited_Edition'] )) } this.populate_sizes() |
