Post by scanreg » Tue Aug 10, 2010 11:53 pm

(not sure if this is the right forum but seemed related)

On the guest checkout page 2, it displays $6.89 as the shipping

However, on the Checkout Confirmation page, it shows shipping as $6.50

The tax rate is 6.0%

So, I think the checkout page 2 is including sales tax in the displayed shipping, where as on the checkout confirmation page the sales tax is split out in its own display

Is there anyway to just show the raw shipping rate on the checkout page 2 and leave the tax display for the checkout confirmation page? Would likely make more sense to customers

Thanks

Active Member

Posts

Joined
Thu May 06, 2010 12:15 am

Post by Qphoria » Wed Aug 11, 2010 1:53 am

Try this.

1. EDIT: catalog/controller/checkout/guest_step_2.php

2. FIND:

Code: Select all

if (!$this->cart->hasShipping()) {
			unset($this->session->data['shipping_method']);
			unset($this->session->data['shipping_methods']);

			$this->tax->setZone($this->config->get('config_country_id'), $this->config->get('config_zone_id'));
    	}
3. REPLACE WITH:

Code: Select all

if (!$this->cart->hasShipping()) {
	unset($this->session->data['shipping_method']);
	unset($this->session->data['shipping_methods']);
}

if (isset($this->session->data['guest']['shipping_country_id'])) {
    	$this->tax->setZone($this->session->data['guest']['shipping_country_id'], $this->session->data['guest']['shipping_zone_id']);
} else {
    	$this->tax->setZone($this->session->data['guest']['country_id'], $this->session->data['guest']['zone_id']);
}


Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by scanreg » Thu Aug 12, 2010 1:12 am

Will plug it in, thanks so much :)

Active Member

Posts

Joined
Thu May 06, 2010 12:15 am

Post by Qphoria » Thu Aug 12, 2010 1:46 am

let me know if it works or not

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 5 guests