Support » Plugin: WooCommerce » Remove item from Cart if role changes

  • Resolved andylockhart


    We have a web site for customers and retailers. Some products are only available to customers and some just to retailers. If a retailer comes to the site and does not login they can see the customer specific products (e.g. Single Bath Bomb). They add this to the cart and then login. This product is still in the cart and they can then purchase it. (Retailers have to buy the 6 pack).

    Is there away to remove items from the cart when a user logins in and has a particular role. ie. They login as a Retailer and the customer specific products get removed?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Zach W


    Automattic Happiness Engineer


    By default, the WooCommerce plugin does not restrict products based on the role of the user.

    You will need to contact the developer of whatever plugin you’re using to provide the restriction functionality for help.

    Plugin Support Julia Amosova


    Automattic Happiness Engineer

    Hi @andylockhart,

    looks like you are all set for now so I am going to mark this thread as Resolved. Feel free to connect with us again should you have any additional questions!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove item from Cart if role changes’ is closed to new replies.