What's the trick to showing prices including VAT to all users except B2B users?
Thanks in advance and have a nice day.
What's the trick to showing prices including VAT to all users except B2B users?
Thanks in advance and have a nice day.
Hi there,
This can be achieved by configuring a tax exemption rule (in B2BKing -> Dynamic Rules) for your B2B users.
We have a general guide for setting this up here: https://b2bkingplugin.com/docs/how-to-display-prices-excluding-tax-for-b2b-users-and-including-tax-for-b2c-users/
Let me know if you run into any issues or if you have any questions, and I'd be happy to assist,
Kind regards,
Stefan
Thanks, I read this article but couldn't find it anymore.
One more question: is it possible to show the price excluding VAT only to B2Bs in Italy, and show the prices including VAT to B2Cs and B2Bs in other countries?
I tried with dynamic rules but failed
Have a nice day!
Yes, this should be possible.
You would need to configure the rule similar to this:

This rule will completely remove tax for B2Bs in Italy. This will usually be based on the billing country they choose during checkout (so make sure to choose a billing country in checkout when testing).
If you'd like, I can also try to set this up directly on your site. If so, I'd need a backend login to the site, or a staging clone site.
Kind regards,
Stefan
it works in cart and checkout, but in shop, for all B2B users, I see the prices without VAT and for the retail price the + VAT label is missing,.
This message is private.
This message is private.
Thank you for the details,
To make the retail price include tax, please add this PHP code snippet to your site:
add_filter('b2bking_both_prices_retail_adjust_tax','__return_false');
A PHP snippet can be added to functions.php, or by following our guide here: https://b2bkingplugin.com/docs/how-to-add-a-snippet-php-or-js/
PHP code snippet works well, thank you! :-)