Our plugin can completely hide products, but not variations.
For variations, it is possible to go to B2BKing -> Dynamic Rules and create a "Hidden Price" rule for specific variations only. Customers will not be able to add them to cart + will see a message such as "This option is not available", or "This option is only available for B2B".
For example:
It will show like this on the frontend with a grayed out add to cart button:
The text shown there can be configured in B2BKing -> Settings -> Language: "Hidden price dynamic rule text".
There we were referring to the text configured here in B2BKing settings:
Please note that for that to show, you would need to have a "hidden price" rule set for a specific variation.
If you do not see that text on your site after selecting a variation (with a hidden rule configured), then it might be a conflict with the theme, or another plugin.
We can check it directly on your site if you'd like - for that we would need a temporary site access (it would be best to create a separate, private ticket for that).
Is it possible to hide variants of products for groups?
What I want to be able to do:
I have a beer product, which had several variants:
- 1x bottle 33cl
- 1x can 33cl
- Box of 24 x bottle 33cl
All 3 variants can be purchased by b2c. However b2b is only allowed to view/purchase the box of 24x bottles.
Hello Jeroen,
Our plugin can completely hide products, but not variations.
For variations, it is possible to go to B2BKing -> Dynamic Rules and create a "Hidden Price" rule for specific variations only. Customers will not be able to add them to cart + will see a message such as "This option is not available", or "This option is only available for B2B".
For example:
It will show like this on the frontend with a grayed out add to cart button:
The text shown there can be configured in B2BKing -> Settings -> Language: "Hidden price dynamic rule text".
Thank you for the reply. That’s not really what I am looking for.
I did find a code solution yesterday, so will try and modify that.
But perhaps you can put it on the wishlist :) .
We'll look at that for future updates, thank you for the feedback.
The text shown there can be configured in B2BKing -> Settings -> Language: "Hidden price dynamic rule text".
The text does not display.
Hi Jim,
There we were referring to the text configured here in B2BKing settings:
Please note that for that to show, you would need to have a "hidden price" rule set for a specific variation.
If you do not see that text on your site after selecting a variation (with a hidden rule configured), then it might be a conflict with the theme, or another plugin.
We can check it directly on your site if you'd like - for that we would need a temporary site access (it would be best to create a separate, private ticket for that).