WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. daveetasac
    Member
    Posted 10 months 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
    Member
    Posted 5 months ago #

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

  3. AlfalfaAnne
    Member
    Posted 2 months ago #

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

    Thanks!

  4. daveetasac
    Member
    Posted 2 months ago #

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

Reply

You must log in to post.

About this Topic