I have a tax rule for Australia's GST: 10% levied if delivery or billing address is in Australia, nothing otherwise. Prices have been entered without GST. The rule works as expected for delivery in AU (taxed) or NZ (not taxed) when uc_vat is not active. So, a $340.91 excl GST order is 375.00 in AU and 340.91 in NZ.
With uc_vat active the GST is split out in the checkout display and shown in the cart contents:
Qty Products Price excl. GST GST Price
1× Test Software Product $340.91 $34.09 $375.00
Subtotal: $375.00
The default delivery country is Australia and the total preview looks like:
Order total preview:
Subtotal: $375.00
Subtotal excluding GST: $340.91
GST: $34.09
Order total: $375.00Changing the address to New Zealand results in:
Order total preview:
Subtotal: $375.00
Order total: $375.00
The GST is not being removed from the New Zealand order with uc_vat active. The preview totals are reflected on the checkout review page.
Changing the country does not change the break down in the cart contents.
Expected the order total to be 340.91 when NZ selected as delivery country.
Behaviour also present in CVS head from 29 Sep.
Comments
Comment #1
fenstratI can confirm this sittuation.
VAT is not being removed for non taxed countries.
Comment #2
adamcoffey commentedSame result as well.
Comment #3
longwaveThere were no conditional actions checks being performed before, this is now done for ordered products so tax can be removed for specific countries where needed. However, this uncovers a further problem in the order preview pane, as it now makes less sense - the subtotal and order total lines differ with no indication as to why. Should the "Subtotal excluding VAT" line always be shown if uc_vat is enabled? Currently uc_taxes specifically hides this line if no taxes are applied to an order, but I think this can be overridden if necessary in uc_vat.
Please test the -dev release when it updates in a few hours and let me know what should be done in this case.
Comment #4
longwaveAlso, there is no support in Ubercart for updating the cart contents pane at any point after the first page load, and the cart is unaware of any country selected at checkout, so at the moment the cart contents section will always show taxed prices.
Comment #5
ChrisW commentedThanks for your efforts to address this. The tax is now being removed.
I see what you mean about the subtotal/total. I can get by with just the 'Hide the "Subtotal" line item at checkout.' option suppressing the extra line (no shipping involved)... I'm sure others won't be able to and should defer to them. I will have a play with turning on shipping and see if I can offer something constructive.
Comment #6
adamcoffey commentedThanks for the quick response!
Works for me. I turned the Subtotal off as well and at least I have something that charges the right amount. I'll make a note under the store policies about tax and leave it at that until another patch turns up.
Comment #7
fenstratYep, tax is now being removed based on conditional actions. Marvellous.
The differing subtotal / order total makes it pretty confusing. I'd say longwave's suggestion of always showing "Subtotal without VAT" would be a good idea. Or perhaps better yet, make the "Always show order subtotal without VAT" an admin option. Disabling this setting would cover a simple stores where there's no shipping/discount and a straight Order total (which will be without VAT) would be sufficient. Whereas turning it on would cover stores with shipping/discounts.
I haven't had a chance to see how this reacts with discounts, e.g. uc_discount. Has anyone tried that?
It's a real pitty about the cart content pane being unchangeable, but it's not a show stopper. Something to extend for uc 3 perhaps.
Comment #8
longwaveOkay, I will try to find time to make a new option where the "subtotal without VAT" line can always be shown. Also I think the cart contents pane could be reloaded with updated values with a bit of JavaScript work, though I was trying to avoid adding any JS to uc_vat as the checkout is already JS-heavy enough in my opinion.
I also haven't had chance to test with uc_discount but if someone has time to do that (or any other line item modules) then please do, feedback on anything to do with the module is welcome.
Comment #9
shaneod commentedI thought i was going mad until I found this thread! ... Thanks for the good work longwave, trying the dev version now!
Edit: That's working great now, although, as above, the Sub-total is a bit confusing.
Edit again:
Also on the "review order page" I'm getting the following
Cart contents
1× Test Product €121.50
Payment method
Subtotal: €100.00
Flatrate: €5.00
Total: €105.00
Comment #10
shaneod commentedAny joy with this, or, do you know when you'll be able to look into it?
Comment #11
longwaveI think this will require uc_vat to provide a complete replacement for the checkout cart pane, rather than the re-theming hack it does now to the checkout. I have no time to work on this for the next week or so at least.
Comment #12
longwaveFinally, this should now be fixed in HEAD. A new AJAX enabled checkout cart pane is provided which updates when the user changes country, and the subtotal line item in the order preview pane now also shows the correct amount if taxes are excluded due to Conditional Actions rules.