Hi,
I added the following code in my theme childs function.php
//WooCommerce Frage zum Produkt
function wc_produktfrage() {
echo 'TESTMAX!';
}
//add_action( 'woocommerce_after_shop_loop_item', 'wc_frage_produkt_button', 20 );
add_action( 'woocommerce_before_add_to_cart_form', 'wc_produktfrage', 30 );
However I don’t find my teststring anywhere in the products page.
die(); is resulting in an empty page. Anything wrong with the default hook in enfold?
EDIT: Sorry another plugin interferred.
Hey maxh_muc,
Great, I’m glad that you found the problem, and thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
No thank you. PRoblem solved. Sorry for bothering you.
Hi maxh_muc,
We’re glad to hear that :)
Thanks for using Enfold and have a great day!
Best regards,
Nikko