Tax On Shipping
Guys,
I found in another post that if you change a line of code to $this->ShippingIsTaxed = true; taxes will be applied to shipping. I tried it but it doesn't work. Are there other changes that need to be made?
Thanks!
Peter
Guys,
I found in another post that if you change a line of code to $this->ShippingIsTaxed = true; taxes will be applied to shipping. I tried it but it doesn't work. Are there other changes that need to be made?
Thanks!
Peter
That will only work for an eCart tax rule that uses the cart taxable total for calcualting the tax.
Power Store uses a different method for calculating tax since the tax can be set on a product by product basis.
in the WA_eCart/WA_Store_Cart_PHP.php
change the following line:
$totalTax += (($this->TotalColumn("TotalTaxable")-$this->getDiscounts()) * $_SESSION['WA_Store_Cart_TaxRate']);//Result
to:
$totalTax += ((($this->TotalColumn("TotalTaxable")-$this->getDiscounts()) + $this->getShipping()) * $_SESSION['WA_Store_Cart_TaxRate']);//Result
Jason,
Excellent answer as usual, that has produced the desired results. Thanks very much, appreciate the support.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.