summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/solr/product_product.py
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/models/solr/product_product.py')
-rw-r--r--indoteknik_custom/models/solr/product_product.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/solr/product_product.py b/indoteknik_custom/models/solr/product_product.py
index 20a68b47..31a0026d 100644
--- a/indoteknik_custom/models/solr/product_product.py
+++ b/indoteknik_custom/models/solr/product_product.py
@@ -84,7 +84,7 @@ class ProductProduct(models.Model):
price_excl_after_disc = variant._get_website_price_after_disc_and_tax()
tax = variant._get_website_tax()
discount = variant._get_website_disc(0)
- flashsale_data = variant._get_flashsale_price()
+ flashsale_data = variant.with_context(price_for="web")._get_flashsale_price()
price_excl_v2 = variant._v2_get_website_price_exclude_tax()
price_excl_after_disc_v2 = variant._v2_get_website_price_after_disc_and_tax()