• Resolved bt_dev

    (@biotrace)


    Hello, is there a code snippet we can use to replace the (ex. tax) label with (+ gst)?

    Note: Adding the tax suffix in the woocommerce settings does not affect this label.

    woocommerce/includes/class-wc-countries.php

    /**
    	 * Include the Ex Tax label.
    	 * @return string
    	 */
    	public function ex_tax_or_vat() {
    		$return = in_array( $this->get_base_country(), array_merge( $this->get_european_union_countries( 'eu_vat' ), array( 'NO' ) ) ) ? __( '(ex. VAT)', 'woocommerce' ) : __( '(ex. tax)', 'woocommerce' );
    		return apply_filters( 'woocommerce_countries_ex_tax_or_vat', $return );
    	}
    	/**
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to change the (ex. tax) label in cart, checkout & emails?’ is closed to new replies.