summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/lib')
-rwxr-xr-xStoneIsland/www/js/lib/products/ProductView.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/StoneIsland/www/js/lib/products/ProductView.js b/StoneIsland/www/js/lib/products/ProductView.js
index 218c151d..f9de3ab3 100755
--- a/StoneIsland/www/js/lib/products/ProductView.js
+++ b/StoneIsland/www/js/lib/products/ProductView.js
@@ -132,16 +132,13 @@ var ProductView = ScrollableView.extend({
var notAvailableInCanada = !! app.store.NotAvailableInCanada
app.product.$notAvailableInCanada.toggle( notAvailableInCanada )
- if (notAvailableInCanada && sim.data.countryCode === 'ca') {
+
+ if (! ('Price' in details['Item'])) {
this.isNotAvailable = true
}
else {
this.isNotAvailable = false
}
-
- if (! ('Price' in details['Item'])) {
- this.isNotAvailable = true
- }
if (this.sold_out || this.isNotAvailable) {
this.$style.css("opacity", 0)