This is an automated email from the ASF dual-hosted git repository.

nmalin pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 209f15f  Fixed: Incorrect price for selected variant shown 
(OFBIZ-12236)
209f15f is described below

commit 209f15f2b67b7437d46fcf8c2c695763e2adcc4e
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>

Reply via email to