summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-10-04 09:36:16 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-10-04 09:36:16 +0700
commitaaf2b91b6e888a30d12f123ccc91ed9061167763 (patch)
tree85704029e3b0a9e6db2ca1a9a2de9f609654cefb
parentd58dbe6fb235570d1b9ca0824556847baea108ef (diff)
Fix get base price flash sale
-rw-r--r--indoteknik_api/models/product_product.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_api/models/product_product.py b/indoteknik_api/models/product_product.py
index e3de8f86..f01c4ed1 100644
--- a/indoteknik_api/models/product_product.py
+++ b/indoteknik_api/models/product_product.py
@@ -258,7 +258,7 @@ class ProductProduct(models.Model):
if not item:
return result
- base_price = self._get_website_price_exclude_tax()
+ base_price = self._v2_get_website_price_exclude_tax()
discount = 0
price_flashsale = 0
if item.price_discount > 0: