Role based quick view - by Castro - on WordPress WooCommerce support

This topic has 4 replies, 3 voices, and was last updated 10 years, 8 months ago ago by Robert Hall

  • Avatar: Castro
    Castro
    Participant
    April 19, 2015 at 13:34

    Hello,

    Can you tell me how to disable the quick view fora certain user role, please? Or at least disable the add-to-cart functionality for this role in the quick view?

    Thanks

    3 Answers
    Avatar: Eva
    Eva Kemp
    Participant
    April 19, 2015 at 20:31

    Hello,

    Unfortunately there is no such possibility in the theme. Sorry.

    Regards,
    Eva Kemp.

    Avatar: Castro
    Castro
    Participant
    April 24, 2015 at 08:10

    I figured it out. For those who might have an interest: I disabled the possibility to add products to cart in quickview for subscribers by changing product-quick-view.php line 97 to:

    <?php if (etheme_get_option(‘quick_add_to_cart’) && ! current_user_can( ‘subscriber’ ) ): ?>

    Avatar: Robert Hall
    Robert Hall
    Participant
    April 24, 2015 at 08:26

    Hello,

    We’re glad to hear it and thank you for your help.
    We appreciate very much.

    Regards,
    Robert Hall.

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘role based quick view’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.