Jump to content

Welcome to the forum:

Welcome to the iThemes forum. We've created several tutorial video's to help you get you started with using the forum, please check them out!

Also take note of the forum guidelines.

Support hours:

Our moderators actively respond to forum support requests during normal business hours which are Monday-Friday, 8am - 5pm Central Standard Time, typically within one business day. Although some moderators choose to work during the weekends, we can not guarantee immediate attention to your requests. Thanks for understanding.

What is included with support:

Premium support includes theme/plugin issues such as: bugs encountered under normal operation, how to use basic features, basic WordPress help, and basic help with customization (meaning we point you to resources and will help in more depth as time allows). More information.

Memorial Weekend:

Monday, May 25 2015 is Memorial Day. Please note that the iThemes offices are closed during National Holidays.
Support will resume on Tuesday May 26.

Exchange Plugin Conflict With Advanced Custom Fields (Acf)

acf plugin conflict

5 replies to this topic

#1 Guest_alex vasquez_*

Guest_alex vasquez_*
  • Guests

Posted 30 April 2014 - 03:19 AM

Hi there,
I've installed ithemes exchange and I'm seeing an issue with ACF fields. I've got a set of metaboxes setup that apply to exchange products. Clicking on the tab for any acf field groups causes a spinning circle and nothing happens. Screenshot: https://www.dropbox.com/s/ay4zwlnf3aw63ix/Screenshot%202014-04-30%2002.18.30.png

I'm running the latest stable versions of exchange and ACF. Has this been reported before? How might I work through this?

#2 Elise Alley

Elise Alley

    iThemes Support

  • Administrators
  • Others: All Plugins, All Themes, Members, Moderators, Toolkit, Webdesign
  • 6,494 posts
  • LocationOklahoma City, OK

Posted 30 April 2014 - 12:18 PM

Hi Alex,

I haven't had this reported before and I don't know of any workarounds.

I can report this to the developers, but ACF isn't an iThemes plugin.  While we do our best to make Exchange compatible, we can't guarantee compatibility with every plugin.  So I'll let them know about this one, but I don't have a timeline for if/when this would be available.

Let us know if you have any additional questions.



#3 yannibmbr



  • Members
  • Others: All Plugins
  • PipPip
  • 20 posts

Posted 07 May 2014 - 01:34 AM

Hello Elise,
I was able to resolve this.

The issue appears to be that an Exchagne product pulls in ALL ACF Field groups. The spinner will appear when you click on a Field Group that isn't specifically assigned to the Current Exchange Product you're reviewing. However, if you do assign the ACF group to the Exchange product, the normal metaboxes DO show up. My expectation here is that only ACF field groups assigned to an Exchange Product would show up. All other field groups wouldn't show at all.

I hope that helps out some.

#4 Guest_jackfungi_*

  • Guests

Posted 02 August 2014 - 03:33 PM

I'm experiencing the same issue.
Alex, could you elaborate on your fix? I'm a little confused.

#5 Guest_Nic Granleese_*

Guest_Nic Granleese_*
  • Guests

Posted 31 August 2014 - 10:22 PM

I'm getting the same issue

#6 Guest_Snapper_*

  • Guests

Posted 25 November 2014 - 09:29 PM

I found a solution that only requires one small addition to a javascript file.

In the file "/wp-content/plugins/ithemes-exchange/lib/admin/js/add-edit-product.js, around line 609, look for:

if ( $( this ).attr( 'id' ) != 'it-exchange-advanced-tabs' ) {

and change it to read:

if ( $( this ).attr( 'id' ) != 'it-exchange-advanced-tabs' && !$( this ).hasClass('acf-hidden') ) {

The problem happens because ACF renders javascript to add a special class to any metabox that needs hiding. ACF renders all of their "field groups" on every page, and based on the Rules Set you specify for their visibility, it alters the class name of the Metabox. Exchange uses javascript to iterate through the metaboxes and turn them into vertical tabs, but it doesn't account for ACF metaboxes that are using class names to hide them instead of not rendering the metabox at all with PHP. ACF could remedy this situation with a code change and just not render the metabox at all, but until then, this little change in the Exchange js will do the trick.

Reply to this Topic

If this topic is marked RESOLVED or INFORMATION, or if you are NOT experiencing EXACTLY the same issue, please start a new topic to provide the details of your problem. If the solution provided doesn't work for you, you should start a new topic. If you feel this thread contains relevant information, you may include a link to it in your new topic. To ensure that we can process your support request efficiently, ALWAYS include a link to your site, and/or the page your request is related to. When posting your question or request on the forum, please be as concise and specific as possible. The shorter and more to the point you can make your request, the better.

For BackupBuddy related issues, be sure to include the status log from your most recent backup.

CLICK HERE to start a new topic in the Exchange ecommerce plugin forum.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users