Is it possible to show products on the order form for users that are not logged in when you activate the visibility by product category.
Would it be possible to hide any product category from the form filter that the users does not have access to, we have products that are available to only a single customer and we would like to segregate them by using the product category, but each of those category then show up in the filter.
"Is it possible to show products on the order form for users that are not logged in when you activate the visibility by product category."
Yes, it should be possible as follows:
- You'd need to set the plugin to 'B2B Shop' mode in B2BKing -> Settings -> Main Settings:
Then for each category, when you edit the category you would need to enable 'Logged Out Users':
Let me know if you have any issues getting that to work,
2)
"Would it be possible to hide any product category from the form filter that the users does not have access to, we have products that are available to only a single customer and we would like to segregate them by using the product category, but each of those category then show up in the filter.
"
The order form only shows products that are purchasable, that can be added to cart and checked out with.
If the product cannot be added to cart, it will not show in the form,
Since you have the site set to hide prices for logged out users, none of the products can be added to cart when logged out, so none would show in the order form.
We are considering adding a display-only mode in future updates, but at the moment I don't have a way for the order form to support this. I can suggest displaying a different message instead of the form, using the content shortcode, for example:
[b2bking_content show_to=loggedout]Login to access the wholesale order form...[/b2bking_content]
[b2bking_content show_to=b2b, b2c][b2bking_bulkorder theme=cream][/b2bking_content]
Hello
2 questions about the B2B King Order Form
Is it possible to show products on the order form for users that are not logged in when you activate the visibility by product category.
Would it be possible to hide any product category from the form filter that the users does not have access to, we have products that are available to only a single customer and we would like to segregate them by using the product category, but each of those category then show up in the filter.
Thank you for your help
Thank you for purchasing our plugin!
1)
"Is it possible to show products on the order form for users that are not logged in when you activate the visibility by product category."
Yes, it should be possible as follows:
- You'd need to set the plugin to 'B2B Shop' mode in B2BKing -> Settings -> Main Settings:
Then for each category, when you edit the category you would need to enable 'Logged Out Users':
Let me know if you have any issues getting that to work,
2)
"Would it be possible to hide any product category from the form filter that the users does not have access to, we have products that are available to only a single customer and we would like to segregate them by using the product category, but each of those category then show up in the filter. "
I think you are looking at this filter here, correct? https://prnt.sc/YwilVD1hrzpm
Yes, to hide categories from there, it is needed to enable B2BKing -> Settings -> Other -> "Product Visibility Cache". It's this setting here:
This setting enables visibility at a deeper level, so it will try to hide categories / products everywhere, including in filters, widgets etc.
Kind regards,
Stefan
Thank you for your answer.
Solution #2 worked, that's great!
Solution #1, I already have each of my product category set to be accessible to logged out user.
For example, any other page that does not use the order form works.
https://bariatrix.com/b2bcad/en-products-us-23-proti-chips-protein-chips-html/
It's just on the order form that I cannot see any products.
Any idea?
Glad to hear #2 worked,
Regarding the other issue, now that I look at https://bariatrix.com/b2bcad/en-products-us-23-proti-chips-protein-chips-html/ I think I know what the problem is,
The order form only shows products that are purchasable, that can be added to cart and checked out with.
If the product cannot be added to cart, it will not show in the form,
Since you have the site set to hide prices for logged out users, none of the products can be added to cart when logged out, so none would show in the order form.
We are considering adding a display-only mode in future updates, but at the moment I don't have a way for the order form to support this. I can suggest displaying a different message instead of the form, using the content shortcode, for example:
Kind regards,
Stefan