Hi All
rhonda8181, as plugin author has said, however you can use the following to bypass the restriction in your WooCommerce archive-products.php template:
<?php if ( is_user_logged_in() ) { ?>
content visible for logged in users
<?php } else {
$simple_restrict_restriction_message = get_option( 'simple_restrict_setting_one' );
echo $simple_restrict_restriction_message;} ?>
The above will simply restrict the woocommerce shop page to non logged in users. If a user is not logged in, the above will spit out whatever is set in your Settings>Simple Restrict>Restriction Message.
Unfortunately the above will not pick up the restrictions set by the plugin. For that, you would need to play around with
wp_get_current_user();
and match the user ID you can get from the above function with the plugin restrictions it has created.
Note that you have to have WooCommerce support enabled and plugin files copied over to your theme/woocommerce/ to be able to edit the archive-products.php. You can declare WooCommerce support with the following line in your functions.php :
add_theme_support( 'woocommerce' );