@infrab4a/connect-angular 3.3.2-beta.0 → 3.3.3-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -900,7 +900,8 @@
|
|
|
900
900
|
var info = product.price;
|
|
901
901
|
if (product.isGift)
|
|
902
902
|
return 0;
|
|
903
|
-
|
|
903
|
+
console.log('getProductPrice', isSubscriber, info.subscriberPrice);
|
|
904
|
+
return (isSubscriber && info.subscriberPrice > 0) ? info.subscriberPrice : info.price;
|
|
904
905
|
};
|
|
905
906
|
this.checkMaxStock = function (item, quantity) {
|
|
906
907
|
var _a;
|