Change WordPress user roles and capabilities Forums How to or FAQ How can I find someone to sort this for me?

This topic contains 1 reply, has 2 voices, and was last updated by  Vladimir 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5690

    NINETYNINETY
    Participant

    I am having a nightmare, trying to follow the info provided but cannot achieve the following in Woocommerce with Role Editor:
    Wholesale customers to see wholesale products only
    Non logged in and Registered Subscribers and Account Holders to see retail products.

    I have managed to have the wholesale products showing only to logged in users with the Wholesale role, but ALL products show when logged out.

    Spent so much time on this I now give up, but am willing to pay someone to help me out with it please!

    #5692

    Vladimir
    Keymaster

    I suppose that you use “Content view restrictions” add-on to manage product view.

    Product is excluded from all listings just in case of 404 action selection.

    You need to go through all wholesale products, open every for editing and set Content view restrictions criteria:
    – role: Wholesale;
    – Access error action: 404 HTTP error.
    In this case wholesale products will not be listed for not logged in users.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.