Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards!

Compatibility problem between the dashboard and 2 plugins

WCMp Core

Resolved
Viewing 19 reply threads
  • Author
    Posts
    • #130324
      MaxenceTP
      Participant

      Hello,

      I have 2 compatibility issues with other plugins, I know it’s not directly your fault but it concerns the WCMp dashboard and they are plugins used by millions of sites.

      First problem with the “Flatsome” theme (one of the most used on Woocommerce): https://themeforest.net/item/flatsome-multipurpose-responsive-woocommerce-theme/5484319

      When I activate “Lazy load images”, everything works fine on the site, except on the dashboard: https://prnt.sc/1ywvea2
      Images with the “lazy-load” class are not loaded: https://prnt.sc/1ywvgab
      There is probably a CSS or JS part to add in WCMp for that. In the source code of the page, here is the image tag:
      My Website

      The image link in data-src is correct and works, but the image is not displayed though.

      Second problem with the “CookieYes | GDPR Cookie Consent” plugin (more than a million active sites): https://fr.wordpress.org/plugins/cookie-law-info/

      On the site no problem, but on the WCMp dashboard the CookiesYes popup is permanently displayed. Here is a video: https://www.loom.com/share/976b11c3ff6b475f8b1b12c71b2284cb

      Thanks for your help,
      Maxence

    • #130643

      Hi,

      Our replies are inline with yours:

      – First problem with the “Flatsome” theme (one of the most used on Woocommerce): https://themeforest.net/item/flatsome-multipurpose-responsive-woocommerce-theme/5484319

      >>To solve this issue, we need some help from flatsome theme author because this a third party theme and this is a huge theme and it is quite difficult for us to debug the whole theme for a specific work, so please ask your flatsome theme author that “whenever we enable check the lazyload image which JS (Javascript) will load”, sp that we can help you out by disabling that particular JS.

      =========================================================================================================================================================

      – Second problem with the “CookieYes | GDPR Cookie Consent” plugin (more than a million active sites): https://fr.wordpress.org/plugins/cookie-law-info/

      >> This is also a huge plugin and it is quite difficult for us to debug the plugin for a specific work, so please ask your plugin author from which section this CookiesYes pop up is coming, so that we can disable that particular part from vendor dashboard by using a check in.

    • #130678
      MaxenceTP
      Participant

      Thank you for your answer,

      About Flatsome, maybe these 2 files can help ?
      https://github.com/nhannd314/flatsome/tree/master/inc/extensions/flatsome-lazy-load

      About CookiesYes, I’ll see with the plugin author, they are working on it.

    • #130680
      MaxenceTP
      Participant

      There is probably a CSS or JS part to add in WCMp for that. In the source code of the page, here is the image tag:

      <img class="lazy-load jetpack-lazy-image jetpack-lazy-image--handled" src="image/svg+xml,%3Csvg%20viewBox%3D%220%200%20100%20100%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3C%2Fsvg%3E" data-src="https://www.google.co.uk/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png" alt="My Website" data-lazy-loaded="1" loading="eager">
      Copy

      The image link in data-src is correct and works, but the image is not displayed though.

    • #130713

      Hi,
      Kindly share a staging site with admin access, vendor access and also the FTP to debug you end. Do not forget mark as private while sharing the details.
      Regards,

    • #130748
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #130773

      Thanks for sharing the access. Our team will get back to you.

    • #130785
      MaxenceTP
      Participant

      Thank you

    • #130818
      This reply has been marked as private.
    • #130834
      MaxenceTP
      Participant
      This reply has been marked as private.
    • #130888

      Hi,
      We have checked you end and lazy load conflict on our plugin. Kindly Give us some time, We will let you know by tomorrow.

      Regards,

    • #130895
      MaxenceTP
      Participant

      Alright, thank you

    • #130948

      Hi,
      The issue is coming from your theme lazy load jquery library. We can’t dequeue this from our end.
      Kindly ask to your theme developer to remove this from our dashboard pages.

      You can check dashboard pages using below function –

      if(is_user_logged_in()){
      $uid = get_current_user_id();
      if( is_vendor_dashboard() && is_user_wcmp_vendor($uid) ){
      //your code
      }
      }

      Regards,

    • #130982
      MaxenceTP
      Participant

      I contacted flatsome, does this can help ?

      wp_enqueue_script(
          'flatsome-lazy',
          $extensions_uri . '/flatsome-lazy-load/flatsome-lazy-load.js',
          array( 'flatsome-js' ),
          $version,
          true
      );
      Copy
    • #130998
      This reply has been marked as private.
    • #131006
      MaxenceTP
      Participant

      I think I have understood what to do.
      On the dashboard this script is not enqueue precisely, whereas on all the pages of the site it is.

      It should simply be enqueued on the WCMP dashboard pages, but how to do that?

    • #131020

      @MaxenceTP, our team will check and get back to you.

    • #131024
      MaxenceTP
      Participant

      Ok thank you

    • #131036
    • #131063
      MaxenceTP
      Participant

      Thank you, this problem is solved 🙂

Viewing 19 reply threads

The topic ‘Compatibility problem between the dashboard and 2 plugins’ is closed to new replies.