Public Ticket #3371070

Order Form

Closed
Comments
3 Tickets 1
Benoit Desrochers started the conversation 3 years ago on May 16, 2023 at 2:10am

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

2,762
KingsPlugins replied 3 years ago on May 16, 2023 at 3:48pm
Hello Benoit,

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:

5874395562.png

Then for each category, when you edit the category you would need to enable 'Logged Out Users':

3047490574.png


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:

4657493497.png


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

2,762
KingsPlugins replied 3 years ago on May 17, 2023 at 7:40pm

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:

[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]


Kind regards,

Stefan

Sign In