Description:
In the checkout process, on the final confirmation page, the shipping costs are displayed correctly. But in the confirmation mail (to the buyer and to the shopowner) shipping costs are always zero. Also in the orders table.
VirtueMart Version:
1.1 (nigthly build from 28-11)
Joomla/Mambo Version:
1.5 RC3.
Steps to replicate:
Put something in your basket. Go to checkout, choose a shipping method and a payment method. On the confirmation screen you'll see the correct shipping costs. After confirmation, the cost is set to zero.
Proposed fix(es):
I found that the problem is the check of the existence of the _SHIPPING object in the following methods of the ps_checkout class:
calc_order_totals
calc_order_tax
email_receipt
and fixed it as follows:
// MOD: _SHIPPING isn't recognized as being set. Using is_object it is recognized correctly
// if( $this->_SHIPPING ) {
if( is_object($this->_SHIPPING) ) {
// END MOD
Bugtracker task #:
System info:
Apache
PHP 4.4.4
MySQL 4.1.11
I don't want to show tax total in my cart content, can this help?