Support

Account

Home Forums Backend Issues (wp-admin) Facing issue in code file

Unread

Facing issue in code file

  • add_action(‘woocommerce_single_product_summary’, ‘wtwh_acf_custom_product_field’, 3);

    function wtwh_acf_custom_product_field() { ?>

    <?php
    if(have_rows(‘a+_banner_content’)):
    while(have_rows(‘a+_banner_content’)): the_row();?>
    “>
    <?php endwhile; endif; ?>
    }

    I share code with you, I want to add this code in woocommerce single product page. I used wp-code plugin for insert code in site. but its not working.
    So, can you please suggest me where I can add this code please suggest me path or page name

    I try this code in woocommerce plugin single-product.php file its working properly so can I go a head with this file?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.