diff options
| author | tri.susilo <tri.susilo@altama.co.id> | 2024-04-29 13:43:37 +0700 |
|---|---|---|
| committer | tri.susilo <tri.susilo@altama.co.id> | 2024-04-29 13:43:37 +0700 |
| commit | 7da27cae381ad9cc6dfa1b4987cb0cc4e404c522 (patch) | |
| tree | 616b463cc3b399b7954a26deddb2ec5a964bcb42 /src/core/utils | |
| parent | 71e6f6b70601a5a6fa20645c2f01a6bf9f7b19ff (diff) | |
benerin var
Diffstat (limited to 'src/core/utils')
| -rw-r--r-- | src/core/utils/googleTag.js | 2 |
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, |
