Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1289248

    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.

    • This topic was modified 3 years, 9 months ago by maxh_muc.
    #1289768

    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

    #1289800

    No thank you. PRoblem solved. Sorry for bothering you.

    #1290159

    Hi maxh_muc,

    We’re glad to hear that :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Enfold Child functions.php ignored’ is closed to new replies.