summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-12-07 17:01:54 +0100
committerJules Laplace <julescarbon@gmail.com>2020-12-07 17:01:54 +0100
commit256fadc7f0cf6a2bd58b57105df3b896311dd73f (patch)
tree0d169abf151cf13549e16805838f8bc7b91ff2de
parent779e82cae225be014d2061d390b4ed84920951db (diff)
data not item
-rwxr-xr-xStoneIsland/www/js/lib/products/ProductView.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/StoneIsland/www/js/lib/products/ProductView.js b/StoneIsland/www/js/lib/products/ProductView.js
index 31a64273..11175ca6 100755
--- a/StoneIsland/www/js/lib/products/ProductView.js
+++ b/StoneIsland/www/js/lib/products/ProductView.js
@@ -236,8 +236,8 @@ var ProductView = ScrollableView.extend({
}
this.$extraMessage.hide()
- if (item['C10Attributes'] && item['C10Attributes'].length) {
- item['C10Attributes'].forEach(function(attr){
+ 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()