ng-easycommerce 0.0.617 → 0.0.619

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.
@@ -8746,7 +8746,12 @@ let ProductDetailService = class ProductDetailService {
8746
8746
  let asociated = {};
8747
8747
  if (this.isReady()) {
8748
8748
  asociated.stock = this.variants[0].stock;
8749
- asociated.price = this.variants[0].price.toString();
8749
+ if (this.variants[0].priceWithoutTaxes) {
8750
+ asociated.price = this.variants[0].priceWithoutTaxes.toString();
8751
+ }
8752
+ else {
8753
+ asociated.price = this.variants[0].price.toString();
8754
+ }
8750
8755
  asociated.saleprice = this.variants[0].saleprice && this.variants[0].saleprice.toString() || undefined;
8751
8756
  asociated.discount = ((_a = this.variants[0]) === null || _a === void 0 ? void 0 : _a.discount) || undefined;
8752
8757
  asociated.properties = this.variants[0].properties ? this.beautifyProperties(this.variants[0].properties) : undefined;
@@ -10290,6 +10295,9 @@ __decorate$1f([
10290
10295
  __decorate$1f([
10291
10296
  Input()
10292
10297
  ], PriceEcComponent.prototype, "saleprice", void 0);
10298
+ __decorate$1f([
10299
+ Input()
10300
+ ], PriceEcComponent.prototype, "priceWithoutTaxes", void 0);
10293
10301
  __decorate$1f([
10294
10302
  Input()
10295
10303
  ], PriceEcComponent.prototype, "priceSize", void 0);