Request: Add back in default “add_to_cart_” hooks?
-
Hello, first of all this is definitely a great and much needed plugin for Woocommerce!
I have a request for a possible future release of the plugin. I noticed that the default add_to_cart_button area on the product page is having it’s actions/hooks removed by the plugin. For example, in my functions.php I have some content being added to product pages using:
add_action( 'woocommerce_after_add_to_cart_button', 'add_content_after_addtocart_button_func' );
However on products affected by this plugin, this doesn’t appear. I solved it for now by manually adding:
<?php do_action( 'woocommerce_after_add_to_cart_button' ); ?>
into your somdn-download-page.php file right before the closing </form> tag. It would be terrific if this and perhaps the ‘woocommerce_before_add_to_cart_button’ entry could be added in so these pages behave consistently with others.
Looking forward to hearing back,
- The topic ‘Request: Add back in default “add_to_cart_” hooks?’ is closed to new replies.