Using Woocommerce I have added a custom field to the customers order page to allow them to download a custom doc. After I add the info into their order I would like the field to appear automatically after they have completed payment. This code has been added to the order-details.php page:
Is there something in ACF I can use or do I need woocommerce_payment_complete_order_status? Any examples would be appreciated. Thanks
Thank you for the question.
ACF only allows you to make use of the predefined set of conditionals to choose where the fields will be displayed. If this is not an option you could have a look at the Woocommerce site for the right hook you can edit to make this happen.