This is an automated email from the ASF dual-hosted git repository.
nmalin pushed a commit to branch release18.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git
The following commit(s) were added to refs/heads/release18.12 by this push:
new 6d5aca3 Fixed: Incorrect price for selected variant shown
(OFBIZ-12236)
6d5aca3 is described below
commit 6d5aca3d2ab6114a2d429f3715b28af7a7adc28e
Author: Nicolas Malin <[email protected]>
AuthorDate: Mon Sep 27 16:28:19 2021 +0200
Fixed: Incorrect price for selected variant shown (OFBIZ-12236)
When the webshop (ecommerce component) has been set up for retail (B2C),
with the tax setting 'Show prices with VAT tax included' set to 'Y' in store
9000 the appropriat Tax Auth Geo and Tax Auth set in store 9000 the flag
'Include Tax In Price' set to 'Y' for the Tax Auth the price for a virtual
product is shown including VAT.
However, for a selected variant the price shown is without VAT
Thanks: Pierre Smits to raise this issue and Priya Sharma for solved it
---
ecommerce/template/catalog/MiniProductSummary.ftl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ecommerce/template/catalog/MiniProductSummary.ftl
b/ecommerce/template/catalog/MiniProductSummary.ftl
index 72cf874..3dcac14 100644
--- a/ecommerce/template/catalog/MiniProductSummary.ftl
+++ b/ecommerce/template/catalog/MiniProductSummary.ftl
@@ -34,7 +34,7 @@ under the License.
</span>
<#else>
<span class="<#if
priceResult.isSale>salePrice<#else>normalPrice</#if>">
- <@ofbizCurrency amount=priceResult.price
isoCode=priceResult.currencyUsed/></span>
+ <@ofbizCurrency amount=price
isoCode=priceResult.currencyUsed/></span>
</#if>
</#if>
</li>