Okay
  Public Ticket #3510977
view prices + iva incl/ex B2C/B2B
Closed

Comments

  •  6
    cinzia started the conversation

    What's the trick to showing prices including VAT to all users except B2B users?

    Thanks in advance and have a nice day.

  •  2,218
    WebWizards replied

    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://woocommerce-b2b-plugin.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

  •  6
    cinzia replied

    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!

  •  2,218
    WebWizards replied

    Yes, this should be possible.

    You would need to configure the rule similar to this:

    9209774113.png

    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

  •  6
    cinzia replied

    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,.

    Attached files:  prices.png

  •   WebWizards replied privately
  •   cinzia replied privately
  •  2,218
    WebWizards replied

    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://woocommerce-b2b-plugin.com/docs/how-to-add-a-snippet-php-or-js/


  •  6
    cinzia replied

    PHP code snippet works well, thank you! :-)