Complex conflict between Smush Pro, Store Locator Plus and Abandoned Cart Pro for WooCommerce

When Smush Pro, Store Locator Plus and Abandoned Cart Pro for WooCommerce along with some other plugins, any elements at the Store Locator Plus pages aren’t clickable.

This happens because when Abandoned Cart Pro for WooCommerce is active, Smush loads its styles and the following CSS is causing the problem:

.wp-admin #wpfooter {
display: block;
}

But once the Abandoned Cart Pro for WooCommerce is inactive the issue is gone and Smush doesn’t load its styles at all on the Store Locator Plus pages.

  • Kostas
    • CTO

    Hey Code23 ,

    I’ve taken a look at Abandoned Cart Pro. They are loading the “wp_enqueue_media()” throughout the whole admin area. This basically marks all admin pages as “media handling” pages and Smush automatically attaches itself on Media pages to check for images and do it’s job basically :slight_smile: .

    I’m not really sure with Abandoned Cart Pro wants to do that but the code is located at :

    wp-contentpluginswoocommerce-abandon-cart-proincludesfb-recoveryadminwcap_fb_admin_settings.php
    Line: 36

    wp_enqueue_media();

    Since the plugin want’s to attach the media scripts on all of the pages for it’s own usage there’s nothing we can do on our end unfortunately as Smush will automatically detect that and act accordingly. This is something that you might want to communicate with the Abandoned Cart developers as it doesn’t seem fully right to load these scripts throughout the whole admin area in my opinion.

    Regards,

    Konstantinos