From 256fadc7f0cf6a2bd58b57105df3b896311dd73f Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 7 Dec 2020 17:01:54 +0100 Subject: data not item --- StoneIsland/www/js/lib/products/ProductView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'StoneIsland/www/js/lib') 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() -- cgit v1.2.3-70-g09d2