diff options
| author | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-10-04 13:40:09 +0700 |
|---|---|---|
| committer | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-10-04 13:40:09 +0700 |
| commit | a72b7217f84f819974d8e48b8ed1fb65ec5d9666 (patch) | |
| tree | 60b607213765c9c3b9912523c0c737732ff37c0b | |
| parent | f14ff937c240edf636e0df66521ca30c3e6a8dcd (diff) | |
| parent | 1deaba0e528600f524df68463140bfef30aa155a (diff) | |
Merge branch 'CR/Pricelist' of https://bitbucket.org/altafixco/next-indoteknik into CR/Pricelist
| -rw-r--r-- | src/pages/api/shop/search.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/api/shop/search.js b/src/pages/api/shop/search.js index 7b44ef37..823e2a61 100644 --- a/src/pages/api/shop/search.js +++ b/src/pages/api/shop/search.js @@ -116,7 +116,7 @@ const productResponseMap = (products, pricelist) => { // if (pricelistDiscountPerc && pricelistDiscountPerc > 0) // discountPercentage = pricelistDiscountPerc - price = product?.[`price_${pricelist}_v2_f`] || 0 + price = product?.[`price_${pricelist}_f`] || 0 } if (product?.flashsale_id_i > 0) { |
