summaryrefslogtreecommitdiff
path: root/src/core/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/utils')
-rw-r--r--src/core/utils/googleTag.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/utils/googleTag.js b/src/core/utils/googleTag.js
index 65fad570..96a6bd2e 100644
--- a/src/core/utils/googleTag.js
+++ b/src/core/utils/googleTag.js
@@ -37,7 +37,7 @@ const mapProducts = (product) => {
const res = {
item_id: product.id,
item_name: product.name,
- discount: product.lowest_price.priceDiscount,
+ discount: product.lowest_price.price_discount || 0,
// index: 0,
item_brand: product.manufacture.name,
item_category: product.categories,