Okay
  Public Ticket #3044752
Displaying a different price suffix for each group (B2B and B2C)
Closed

Comments

  •  1
    innovaseo started the conversation

    Hello,

    Our client introduces product prices without tax for each of the groups: B2C and B2B.

    We would like to display the suffix at price as follows:
    For B2C:
    1) "Price - Tax Included", for example: "112 € - tax included"

    For B2B:
    2) "price - tax not included, for example:" 112 € - tax not included "

    How can we do it to display different messages for different groups of customers on the subpage of products and categories in the store?


  •  2,285
    WebWizards replied

    Hi there,

    Thank you for purchasing our plugin,


    First, I'd like to let you know that B2BKing has a specific setup, and we have a guide on how to show prices including tax for B2C, and excluding tax for B2B: https://woocommerce-b2b-plugin.com/docs/how-to-display-prices-excluding-tax-for-b2b-users-and-including-tax-for-b2c-users/

    This requires that you would create a tax exemption rule for B2B users as described above.


    There is also the following setting:

    In B2BKing -> Settings -> Other -> Modify price suffix for VAT-exempt users

    image-1024x77.png

    This setting adds 'inc. vat' / 'ex. vat' automatically, but it's dependant on the rest of the setup (it only adds 'ex vat' if the user is vat-exempt through a tax exemption rule).

    If the above doesn't help, I can also share some code snippets that directly change price suffix by customer group for example. Let me know if that would help more.


    Kind regards,

    Stefan


  •  1
    innovaseo replied

    Hi Stefan, thanks for your respond. It's works perfect. Thanks for your help.

    I have one more question: Where I can translate  'inc. vat' / 'ex. vat ?

    Loco Translate can't find it in B2BKing Core and B2BKing Pro. Where should I look for it?

    ________

    Best regards,

    Robert.

  •  1
    innovaseo replied

    Update:

    I found a translation in the Woocommerce plugin but still no translation:

    Maybe you know what to do with it? :)

  •  2,285
    WebWizards replied

    Hi Robert,

    Glad to hear the suffix worked,


    You should be able to translate that within the B2BKing Pro plugin (and should work with loco translate). I think I know why you weren't able to find it though.

    If you're opening an existing translation such as the Polish translation there, you will need to click on 'SYNC" in Loco Translate first:

    1094102583.png

    After you click sync, you should then be able to find 'inc. VAT / ex. VAT' when you search for it. After you translate it, you may need to save a product (any product) in order for price caches to get cleared.


    Let me know if that works for you.

  •  1
    innovaseo replied

    Yes, you were right. Everything works fine. One more time, thanks for your help.


    Best regards,

    Robert.