Public Ticket #3302627

How not to show B2C products

Closed
Comments
4 Tickets 2
Ramon started the conversation 4 years ago on March 14, 2023 at 9:19pm

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

2,762
KingsPlugins replied 4 years ago on March 15, 2023 at 2:02pm

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


4 Tickets 2
Ramon replied 4 years ago on March 15, 2023 at 5:52pm

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 

2,762
KingsPlugins replied 4 years ago on March 15, 2023 at 6:26pm

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/


Sign In