@infrab4a/connect-angular 3.3.3-beta.0 → 3.3.3-beta.2

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.
@@ -869,6 +869,7 @@
869
869
  shop: checkout.shop || this.defaultShop,
870
870
  isSubscriber: (_e = checkout.user) === null || _e === void 0 ? void 0 : _e.isSubscriber,
871
871
  });
872
+ console.log('checkout buildLineItem pricePaid', pricePaid);
872
873
  console.log('checkout buildLineItem', checkout);
873
874
  return [2 /*return*/, {
874
875
  checkout: checkout,
@@ -900,7 +901,8 @@
900
901
  var info = product.price;
901
902
  if (product.isGift)
902
903
  return 0;
903
- return isSubscriber && info.subscriberPrice > 0 ? info.subscriberPrice : info.price;
904
+ console.log('getProductPrice', isSubscriber, info.subscriberPrice, info.price, (isSubscriber && info.subscriberPrice > 0));
905
+ return (isSubscriber && info.subscriberPrice > 0) ? info.subscriberPrice : info.price;
904
906
  };
905
907
  this.checkMaxStock = function (item, quantity) {
906
908
  var _a;