include hooks in their add to cart button
-
Hello .. Verry nice template..
Offcourse as everybody i need a little customisation to add variable products from a plugin to the cart.
The plugin developers asks for adding 2 little hooks to be added to “add the cart button”
woocommerce_add_cart_item_data
woocommerce_add_to_cart_validation
Whats the name off the file where the hooks can be placed ??
Can you give an example how to add the hooh ourselves??
Hello,
Here is the file for add to cart button: woodmart/woocommerce/loop/add-to-cart.php
We cannot give the hooks as we do not know how the plugin would apply the buttons, it would be better if the plugin support do it.
Best Regards