Hi,
I’ve created a ACF field which I want to display just below the product title globally.
The route I have taken is basically editing the single product page file, cart file, checkout file, etc to display the ACF field. But this involves adding & maintaining code in multiple files.
Is there a way I can globally attach the ACF field to appear just below the Product title? So that It appears automatically everywhere inside woocommerce including emails, searches, cart, checkout etc?
Thank you!
YOu need to look at what hooks, if any, WC supplies for adding content to that location. If WC does not supply an action hook for the location then the answer is no. A quick search turned up this https://stackoverflow.com/questions/44548763/display-a-custom-field-under-woocommerce-single-product-title