Use with templates and plugins
-
Hi,
and thank you for a fine and promising plugin!It works well in a standard Woo install without templates, but not so if you use a template or third party plugin. (Often both is the case)
E.g. the WC Product Table plugin, that is calling this function:
woocommerce_template_loop_add_to_cart();As a developer wrote: “The woocommerce_template_loop_add_to_cart() fn is used in a lot of places in woocommerce and by 3rd party plugins as well. So perhaps it is a good idea for [Conditional Add to Cart] to leverage the ‘woocommerce_loop_add_to_cart_link’ filter to customize button output in other woocommerce addon plugins as well, thereby gaining more widespread compatibility.”
Please see the sandbox link for a live example.
Kindest regards!
The page I need help with: [log in to see the link]
- The topic ‘Use with templates and plugins’ is closed to new replies.