Problem with Woocommerce catalog visibility options plugin
-
Hi .. I’m trying to use the Woocommerce catalog visibility options plugin to remove ADD TO CART at the product level But I have the following problem:
1) I have visibility options for everything set to enabled at the catalog level.
2) On the home page I see 4 products, all of which initially have Product Restrictions set to ‘Use Category Settings’ i.e. they should behave as normal and I see ADD TO CART on all.
3) If I set, say the second from left product to be completely restricted for purchases, then ADD TO CART disappears as expected from product number 2, it remains on for product number 1 but ADD TO CART also disappears for products 3 and 4.
4) If I scroll the product list horizontally to see more products, then all products to the right of the one which should not have ADD TO CART will also not have it.
5) This sounds like a code bug to me. I’ve done some investigation of what might be causing this by tracing the php but the flows through the plugin looked normal and I couldn’t find out in WC where ADD TO CART is generated and what might be causing it to not happen. It seems to me like something is maybe being set in the product loop to disable the add to cart and then not being reset to continue as normal.
Any thoughts as to how to proceed and/or what might be going wrong would be very much appreciated.
Thanks
Ron
- The topic ‘Problem with Woocommerce catalog visibility options plugin’ is closed to new replies.