It is annoying that woocommerce is still in VAT generation and many countries adopted GST. Hence it requires the change in your functions.php to achieve the same.

 

add_filter( ‘gettext’, function( $translation, $text, $domain ) {
if ( $domain == ‘woocommerce’ ) {
if ( $text == ‘(ex. VAT)’ ) { $translation = ‘(ex. GST)’; }
}
return $translation;
}, 10, 3 );

 

The above piece of code replaces the string ex.VAT to ex.GST.

 

Let us know your feedback.

#WooCommerce #Wordpress #VAT # GST #Functions.php