ACF / DC on WooCommerce

Hi Themeco Team,

I’ve been experiencing some issues with ACF, Dynamic Content, and WooCommerce beyond version 3.1.2. Here are my previous posts:


I’ve currently updated my site to 3.2.3 to see that the issue still persists, and actually the latest update may have made it worse.

On my latest post, the second URL above, @christopher suggested modifying line 137 in the following file:
wp-content/themes/pro/cornerstone/includes/classes/dynamic-content/class-dynamic-content-woocommerce.php

I noticed that in the latest update this file already had his suggested change. For whatever reason, this made all the ACF content on my single product pages disappear. I went ahead and reverted that line back to what it was previously.

Even with this, one issue still remained - my original issue reference in the first URL listed above.

On my WooCommerce product pages, I have buttons that call up off canvas modals that contains ACF and DC content. These were not rendering the data properly or at all.

My temporary fix:

I pulled the “class-dynamic-content-woocomerrce.php” file from my 3.1.2 install and replaced that in the 3.2.3 directory and that has made all issues go away.

Any ideas on this? I’d like to make sure I’m running the latest and greatest, but I also can’t have any automatic updates breaking my site.

Hi @comdoc_marketing,

Thank you for your information. I am going to ask one of our dev guys to take a look and see why the method suggested is not working on your installation.

This may take time as our dev guys are super busy.

Thank you.

Hi @comdoc_marketing,

Please don’t copy class-dynamic-content-woocommerce.php from 3.1.2 into 3.2.3, and please provide your FTP and admin login credentials in the secure note so I can further investigate. It seems it’s not just Woocommerce title related especially the recommended fix is just for title and should have not effect on products (eg. !is_singular(‘product’) , eg. ! means Not and the entire condition means not to execute it on product page.)

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.