I feel like I’ve spent 5% of my time web designing trying to troubleshoot ACF. I am trying to display two checkboxes on product pages that will hook into woocommerce_before_calculate_totals and two custom text fields on checkout.
I’ve setup the fields and have tried three methods to display on the respective template pages which i’ve copied to my child theme using the same directory path.
But no matter what, and following the documentation and dozens of forums and troubleshooting, they will not display on the front end.
Any help is largely appreciated. I’m going crazy trying to get these display and always have.
[ad_2]
So contract it out and learn from the code you buy
Need more information but I would bet that you are using ‘/templates/’ on your directory for WC templates.
ACF – Advanced Custom Fields
What do the fields do? Just checkboxes? These checkboxes need to adjust the total?
You don’t need to copy the templates at all, to have these show. What you need are to use the template hooks to have them display where you want. Ping me and I’ll share a couple private examples.
Not sure if this is your problem, but I’ve held off on the update to the plugin until assessing the potential damage.
[https://www.advancedcustomfields.com/blog/acf-6-2-5-security-release/](https://www.advancedcustomfields.com/blog/acf-6-2-5-security-release/)