Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'woocommerce_before_add_to_cart_form', 'exbtw_melding', 20 );
- function exbtw_melding(){
- global $product;
- // $tax_rates = $product->get_tax_class();
- $tax_rates = WC_Tax::get_rates( $product->get_tax_class() );
- // $tax_rates = $product->get_rates(get_tax_rates());
- echo 'Alle vermelde prijzen zijn excl. <b>'. $tax_rates . ' BTW</b> / Tous les prix indiquΓ©s sont hors <b> '. $tax_rates . ' TVA</b>';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement