wordpress - WooCommerce products visibility issues when using Groups access control plugin -
i'm trying set access control woocommerce products, using groups plugin, recommended wc.
it should restrict visibility of products based on group user assigned to, it's working on wc shop page.
when viewing products on page shows products in store using shortcode [products ids=”1, 2, 3, 4, 5 …”], i'm seeing of products 'user a' should have access to, when logged in 'user b' i'm seeing products correctly.
i can access missing products direct link, restrictions seem working correctly.
what i've done:
installed -
* wordpress 4.8.1 (default 2017 theme)
* woocommerce 3.1.1
* groups 2.3.0
created in wc -
* 10 products should public (no restriction @ all).
* 10 should visible group a.
* 10 should visible group b.
* 10 should visible groups , b.
in groups -
* created ‘group a’ , ‘group b’.
* created 2 new users, , assigned 1 ‘group a’ , other ‘group b’.
* set access restrictions on products described above.
what happens:
on woocommerce 'shop' page products displayed properly:
* 10 products when logged out.
* 30 products when logged in, each user seeing products matching assigned group.
on page displays products, i’m seeing 30 products correctly when logged in user of group a, 20 when logged in user of group b.
i’ve verified products , users set-up correctly, , shop page shows correct number of products – 30 (for each user).
this having effect on elegant themes – divi theme i’m trying install shop, relies on shortcodes, , doesn’t display products correctly on front page 'shop module' (it isn’t showing products user should have access to, based on group).
i’ve tried use other wc shortcodes, similar results.
screenshots of groups settings , wc products list:
http://imgur.com/a/tyc0j
has encountered issue before?
any appreciated, i’ve tried reinstall / deactivate / wipe few times, no success far.
thank you.
Comments
Post a Comment