• Resolved alizee83

    (@alizee83)


    Hello,
    I would like to block access to my eshop, which will only be accessible for professionals.
    is it possible to only block access to the eshop and make it accessible only after validation of the form?

    I specify that I work with divi theme,

    Many thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    WP-Members primarily works by emptying WP’s main $content variable, which is part of the WP Loop. WooCommerce does not use WP’s Loop for displaying content.

    That does not mean that WP-Members can’t handle blocking WooCommerce shops, products, etc; but it does mean that it doesn’t handle it directly the same way that posts and pages are handled.

    The WP-Members Advanced Options extension has some WooCommerce specific settings that can be used to redirect WooCommerce content (shop, product, etc) to the login page.

    Another possibility would be to create some custom actions using WooCommerce conditional tags and WP-Members’ wpmem_redirect_to_login() function.

Viewing 1 replies (of 1 total)

The topic ‘How to block woocommerce eshop’ is closed to new replies.