[Plugin: Woocommerce] Hide product variations on front end based on user role (4 posts)

  1. daveetasac
    Posted 3 years ago #

    I have searched for a solution to this, but can't seem to find one. I'm using Wootique Theme version 1.6.5 and Woocommerce version 2.0.1. I have a salsa distribution company that sells identical products to both retail and wholesale customers. I have created a "Wholesaler" user role.

    To the general public, I sell individual bottles and cases with several variations. To the wholesalers, when they're logged in, I want to hide the option (variation) to purchase individual bottles, and only show the option to buy cases.

    Example of what I'd like to see on the front end:

    Retail Consumer (logged in or not, regardless)

    Flavor (Attribute 1): Mild, Medium, Hot
    Container Type (Attribute 2): Bottle, Case

    Wholesale Consumer

    Flavor (Attribute 1): Mild, Medium, Hot
    Container Type (Attribute 2): Case Only

    Here's the storefront: http://www.hotnsalsa.com/store/

    Any ideas? Thank you in advance.

  2. leadergrafix
    Posted 2 years ago #

    Any luck with this? I am faced with the same situation, and would love to know if there is a solution!

  3. AlfalfaAnne
    Posted 2 years ago #

    Did you ever find a solution to this? I'd also like to know if this is possible.


  4. daveetasac
    Posted 2 years ago #

    Unfortunately, no, I was unable to find a workaround for this. If anyone finds a solution, please post it. Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic