1

Is there anyway to disable the shopping cart for guest users but have a quote only option and have the shopping cart function for wholesale users? Any help is greatly appreciated. Thank you.

2
  • You'll probably have to create a custom function and then replace the woocommerce_add_to_cart action with your function. If user is not logged in show the quote form, if they are logged in and have a specific role show the add to cart button
    – Anagio
    Commented Jan 30, 2013 at 11:30
  • Thanks for the comment Anagio. I couldn't think of any out of the box solutions too.
    – user834915
    Commented Jan 30, 2013 at 23:58

1 Answer 1

1

The Catalog Visibility Options plugin sounds like it would do what you want. It can disable the shopping features for "guests" and allow them for registered/logged in users.

Then if you want to add a Quote form you could use Gravity Forms + WooCommerce Gravity Forms Add-ons. You might be able to use the "conditional logic" options in GF to get it to only display the quote option for non-logged in users (not 100% sure on that part though).

The Product Add-on's extension also gives you the ability to add a checkbox/textbox/radio buttons to a product, however I don't think the view options can be set on that for guest/registered users.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.