Support

Account

Home Forums Front-end Issues Display custom field on woocommerce checkout page Reply To: Display custom field on woocommerce checkout page

  • Hi @clestcruz

    You need to provide the ID of the product as the second parameter for the the_field() function because you called it outside The Loop. I believe you can do it like this:

    `the_field(‘sessions’, $product->ID);
    $order->display_item_meta( $item );’

    I hope this helps 🙂