fix: Add offers info to website item (#34873)

fix: Add offers info to website item (#34873)

* fix: Add offers info to website item

* Revert "fix: Add offers info to website item"

This reverts commit 88b598edb6.

* fix: Add offer properties to website item

(cherry picked from commit 534ea5ad21)

Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>
This commit is contained in:
mergify[bot]
2023-04-18 07:43:17 +05:30
committed by GitHub
parent 8f26d62b35
commit f1a1fc6c5b

View File

@@ -11,7 +11,10 @@
<div class="product-price">
<!-- Final Price -->
{{ price_info.formatted_price_sales_uom }}
<span itemprop="offers" itemscope itemtype="https://schema.org/Offer">
<span itemprop="price" content="{{ price_info.price_list_rate }}">{{ price_info.formatted_price_sales_uom }}</span>
<span style="display:none;" itemprop="priceCurrency" content="{{ price_info.currency }}">{{ price_info.currency }}</span>
</span>
<!-- Striked Price and Discount -->
{% if price_info.formatted_mrp %}