VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Virtuemart 1.1 Development (Archiv) => Quality & Testing VirtueMart 1.1.x => Topic started by: papacho on July 28, 2009, 17:20:13 PM

Title: administrator/components/com_virtuemart/classes/ps_checkout.php
Post by: papacho on July 28, 2009, 17:20:13 PM
I'd find and correct a little bug on virtuemart

The problem is on sending mail of order if you had disabled the tax included.
The value of subtotal is wrong because on line 1941 of administrator/components/com_virtuemart/classes/ps_checkout.php
use "product_final_price" instead "product_item_price" for computing $sub_total.

in the same output total_tax doesnt compute shipping_tax, I solved that changing
comment lines 1975 and 1976.
adding before 1977
 $order_tax += $order_shipping_tax;

excuse me if I'd post in ad wrong place.

--
Agostino Zanutto
Title: Re: administrator/components/com_virtuemart/classes/ps_checkout.php
Post by: ralfeez on August 19, 2009, 01:06:14 AM
Do you have a VM version number? This does not match my code at all.
thanks,
Ralph