@pmcretail/mapper-library 0.0.29 → 0.0.30
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.
- package/bundles/pmcretail-mapper-library.umd.js +3 -2
- package/bundles/pmcretail-mapper-library.umd.js.map +1 -1
- package/bundles/pmcretail-mapper-library.umd.min.js +1 -1
- package/bundles/pmcretail-mapper-library.umd.min.js.map +1 -1
- package/esm2015/lib/WebReturnSalesforceMapper.class.js +4 -3
- package/esm5/lib/WebReturnSalesforceMapper.class.js +4 -3
- package/fesm2015/pmcretail-mapper-library.js +3 -2
- package/fesm2015/pmcretail-mapper-library.js.map +1 -1
- package/fesm5/pmcretail-mapper-library.js +3 -2
- package/fesm5/pmcretail-mapper-library.js.map +1 -1
- package/package.json +1 -1
|
@@ -7575,10 +7575,10 @@
|
|
|
7575
7575
|
SKU: product.product_id ? product.product_id : '',
|
|
7576
7576
|
quantity: product.quantity ? product.quantity : 0,
|
|
7577
7577
|
refundedQuantity: 0,
|
|
7578
|
-
price: product.
|
|
7578
|
+
price: product.base_price ? product.base_price : 0,
|
|
7579
7579
|
itemLineId: index + 1,
|
|
7580
7580
|
deliveryMethod: (/** @type {?} */ (_this)).getDeliveryMethod().toString(),
|
|
7581
|
-
totalLinePrice: product.
|
|
7581
|
+
totalLinePrice: product.price ? product.price : 0
|
|
7582
7582
|
};
|
|
7583
7583
|
if (product && product.price != 0) {
|
|
7584
7584
|
(/** @type {?} */ (_this)).webReturnObject.basket['products'].push(productObj);
|
|
@@ -7830,6 +7830,7 @@
|
|
|
7830
7830
|
basketSummary.saleTotal = (/** @type {?} */ (this)).orderDetails.order_total ? (/** @type {?} */ (this)).orderDetails.order_total : 0;
|
|
7831
7831
|
basketSummary.basketTotal = (/** @type {?} */ (this)).orderDetails.order_total ? (/** @type {?} */ (this)).orderDetails.order_total : 0;
|
|
7832
7832
|
basketSummary.totalItems = (/** @type {?} */ (this)).orderDetails.product_items && (/** @type {?} */ (this)).orderDetails.product_items.length > 0 ? (/** @type {?} */ (this)).orderDetails.product_items.length : 0;
|
|
7833
|
+
basketSummary.shippingTotal = (/** @type {?} */ (this)).orderDetails.shipping_total ? (/** @type {?} */ (this)).orderDetails.shipping_total : 0;
|
|
7833
7834
|
basketSummary.basketTotalWithShippingTotal = (/** @type {?} */ (this)).orderDetails.order_total ? (/** @type {?} */ (this)).orderDetails.order_total : 0;
|
|
7834
7835
|
basketSummaryWebOrder.shippingTotal = (/** @type {?} */ (this)).orderDetails.shipping_total ? (/** @type {?} */ (this)).orderDetails.shipping_total : 0;
|
|
7835
7836
|
basketSummaryWebOrder.basketTotalWithShippingTotal = (/** @type {?} */ (this)).orderDetails.order_total ? (/** @type {?} */ (this)).orderDetails.order_total : 0;
|