Public Ticket #3044752

Displaying a different price suffix for each group (B2B and B2C)

Closed
Comments
1 Ticket 1
innovaseo started the conversation 4 years ago on May 16, 2022 at 10:34am

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,762
KingsPlugins replied 4 years ago on May 16, 2022 at 2:15pm

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://b2bkingplugin.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 Ticket 1
innovaseo replied 4 years ago on May 17, 2022 at 8:04am

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 Ticket 1
innovaseo replied 4 years ago on May 17, 2022 at 8:21am

Update:

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

Maybe you know what to do with it? :)

2,762
KingsPlugins replied 4 years ago on May 17, 2022 at 10:04am

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

Sign In