Home Forums General Issues ACF and Woocomerce Surcharge Reply To: ACF and Woocomerce Surcharge

  • Where is the field located/associated? On the product?

    If it is then you will need to supply the product ID get_field(surcharge, $product->ID);

    The question you have to answer is how do you get the product ID inside of this WC filter?

    If the field is located somewhere else then you will also need to supply the correct ID for ACF to find the field? If not on the product then where is the field?