I am interested in B2B extension for Woocommerce so our distributors can check their dealer prices as well as updated stock availability for each product.
However we don't want to show the product stock availability (number of units) for B2C end customers. Is it possible to show it only for a specific user roles (distributor)?
Hi!
I am interested in B2B extension for Woocommerce so our distributors can check their dealer prices as well as updated stock availability for each product.
However we don't want to show the product stock availability (number of units) for B2C end customers. Is it possible to show it only for a specific user roles (distributor)?
Thanks
Hi Jose,
Thank you for getting in touch,
The plugin doesn't have a feature for this, but it's easy to set up by adding a code snippet to the site.
For example, the following snippet will hide stock for all B2C & Logged out users:
You can also show stock only to specific groups by slightly modifying the above snippet.
Kind regards,
Stefan