Okay
  Public Ticket #3302627
How not to show B2C products
Closed

Comments

  •  2
    Ramon started the conversation

    Hello

    We have a hybrid store and I wanted to know how only the products with a B2B price are shown and the other products are hidden, that is, the B2C.

    Thanks

    Attached files:  Captura de Pantalla 2023-03-14 a la(s) 5.07.15 p. m..png

  •  1,906
    WebWizards replied

    Hello Ramon,

    Products can be hidden using the plugin's visibility module. I checked that product and I see you already found the setting panel:

    9039890077.png


    I also made some other settings on your site for this to work well. 


    With your configuration above, the product will only be visible to logged in B2C users. It will be hidden for B2B users and for logged out users.


    Let me know if I can help with anything, or if you have any questions,

    Kind regards,

    Stefan


  •  1,906
    WebWizards replied

    Just to clarify, products can be shown or hidden only using the visibility feature: https://woocommerce-b2b-plugin.com/docs/faq-product-visibility-is-not-working-how-to-set-up-product-visibility/

    There is no option to do it based on the b2b / b2c price.

  •  2
    Ramon replied

    Hello Stefan,

    I appreciate your time, what I really want to do is that when a B2B customer is logged in, I can only see the products that have wholesale prices, the products that do not have a higher price, I want to hide them.

    II think it's working on the contrary now. Is there a way to do it that is not manual?Or will it be possible to create a role condition to do it?

    Note: Individual (B2C) customers logged in and not logged in should see all the products with their retail prices.

    Thank you for your help.

    Ramón 

  •  1,906
    WebWizards replied

    Hi Ramon,

    Note: Individual (B2C) customers logged in and not logged in should see all the products with their retail prices.

    This part is already how it works by default.


    what I really want to do is that when a B2B customer is logged in, I can only see the products that have wholesale prices, the products that do not have a higher price, I want to hide them.

    I'm afraid there is no way in the plugin to hide products if they do not have a wholesale price.

    If you do not want to edit every product one by one to hide it, a quicker way to do it may be like this:


    -> Create a category such as "non-b2b products" and make this category hidden for B2B users in the category's configuration.

    -> Edit products to add this category to them if necessary. You can edit products in bulk with the import/export feature: https://woocommerce.com/document/product-csv-importer-exporter/


  •  2
    Ramon replied

    Hi Stefan

    Thank you very much for your recommendation, we have done tests and it really works.

    Thanks

    Best Regards