Jump to content

Price with Tax Display Error


Recommended Posts

I made a Catalog Price Rule for a customer group.

Reduction type: Amount
Reduction with or without taxes: Tax excluded
Reduction: 0.84 €

The problem is the price, what is displayed on different pages:

 

Example: We have a product that costs 6,95 € (tax incl)

Product Page: 6,11 € (thats wrong)
Category Page: 5,95 €
Cart: 5,95 €

Testet on PS version 1.6.0.9 - 1.6.0.13

Link to comment
Share on other sites

Found something wrong in product price calculation.

Seems to be OK if you replace the lines 2827 to 2830 in Product.php (1.6.0.13) by the following:

 

//                 if (!isset($specific_price['reduction_tax']) || (isset($specific_price['reduction_tax']) && $specific_price['reduction_tax']))
//                     $specific_price_reduction = !$use_tax ? $product_tax_calculator->removeTaxes($reduction_amount) : $reduction_amount;
//                 else
//                     $specific_price_reduction = $reduction_amount;
                
                $specific_price_reduction = $reduction_amount;
                if (!$use_tax && $specific_price['reduction_tax'])
                    $specific_price_reduction = $product_tax_calculator->removeTaxes($specific_price_reduction);
                if ($use_tax && !$specific_price['reduction_tax'])
                    $specific_price_reduction = $product_tax_calculator->addTaxes($specific_price_reduction);
 

(This patch has just been submitted on github)

 

Or redefine your catalog price rule including taxes...

Regards

--

Eric

Link to comment
Share on other sites

×
×
  • Create New...