Hi,

I'm in Australia and I'm trying to build a site that uses GST.

I'm currently trying to hack the uc_dicsounts_alt module to I can get a project up and running before all the price alteration stuff is stabalized. I've got it all working (I think) except for a few labels:

1. Is there an easy way to tell if VAT applies to an order? I've got the VAT setup with a condition on the delivery address country and it works but I want my hacked uc_discounts_alt module to make the discounts line item either "discounts(excl. GST)" or just "discounts" if VAT is applicable. What's the best function to use to find if VAT is applicable? Do I need to take a price (say $1) and run it through the price alterers to see the result? A better way?

2. A few parts of the site still say "VAT" not "GST" how can I fix these? Most say GST (the name of the tax). I realise the uc_GST module fixes this but as you suggested probably better to just have one module.

The labels that say VAT are:
- Cart contents on the checkout page.
- Admin section when editing products.

Thanks for your help.

Comments

longwave’s picture

Status: Active » Fixed

Part 2 should be fixed now with the new "tax name" option on the VAT settings page.

For part 1 can't you just check whether uc_taxes_rate_load() returns an empty array or not? Or if that's not enough, inspecting the values returned by that function should tell you whether taxes are enabled on the site or not.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.