• Resolved HamishAhern

    (@hamishahern)


    I set my tax name correctly.

    I read somewhere to set Itemized in Tax Settings. thank you, that fixed 1 part of the shopping cart.

    But the rest is still bogus.

    The Total says incl. GST. but everywhere else still says incl. Tax.

    9 of 10 places still show incl. Tax.

    Why did the tax plugin people forgot to program half the places it has the tax calculated and displayed?

    so much for woocommerce actually supporting tax. they only did 10% of the actual programming effort to make it work correctly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @hamishahern,

    It seems that this is related with the string translations. Could you please send a screenshot of a test PDF invoice, highlighting the places in which this text appear? Also, are you using a different language that default English (US)?

    Plugin Contributor Ewout

    (@pomegranate)

    @hamishahern I hear your frustration: if I understand correctly you want it to say “GST” everywhere it says “tax” in the cart, right?

    This is the forum for “WooCommerce PDF Invoices & Packing Slips”, and this plugin does not change anything in how prices are printed in the cart – just the PDF invoice, which follows the price settings in woocommerce as they also appear in the emails that WooCommerce sends to your customers.

    That said, I think the string you are referring to is coming from a WooCommerce function (WC()->countries->inc_tax_or_vat()), that switches between “(incl. VAT)” and “(incl. tax)” based on whether your country (the country you have set as the shop bases) uses VAT or not. This is a generic label separate from the actual name of the tax rate, after all “GST” is a type of tax.

    As far as I know it’s not possible to change this label based on the name of the tax rate. but the aforementioned function does have a filter that would allow you to change the string globally (for all tax rates) to “(inc. GST)”.

    add_filter( 'woocommerce_countries_inc_tax_or_vat', function( $tax_or_vat ) {
    	return "(incl. GST)";
    } );
    add_filter( 'woocommerce_countries_ex_tax_or_vat', function( $tax_or_vat ) {
    	return "(ex. GST)";
    } );

    If you haven’t worked with code snippets (actions/filters) or functions.php before, read this guide: How to use filters

    That said, since this question is about WooCommerce functionality rather than about the PDF invoice (which simply follows WooCommerce in that sense) – if you need any further help with this you should contact WooCommerce directly via their own support forums.

    Hope that helps, all the best with your store!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I need my items and cart to say Incl. GST not Incl. Tax’ is closed to new replies.