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 88b598edb61f0ab97b751581cc2719964e169055.

* fix: Add offer properties to website item
This commit is contained in:
Deepesh Garg 2023-04-17 16:35:22 +05:30 committed by GitHub
parent 4f978a3cbd
commit 534ea5ad21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,10 @@
<div class="product-price"> <div class="product-price">
<!-- Final 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 --> <!-- Striked Price and Discount -->
{% if price_info.formatted_mrp %} {% if price_info.formatted_mrp %}