Okay
  Public Ticket #3371070
Order Form
Closed

Comments

  •  1
    Benoit Desrochers started the conversation

    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,218
    WebWizards replied
    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

  •  1
    Benoit Desrochers replied

    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?


  •  2,218
    WebWizards replied

    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