WCMp Core
-
AuthorPosts
-
-
November 16, 2021 at 10:41 AM #130324MaxenceTPParticipant
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:
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 -
November 16, 2021 at 6:18 PM #130643MVX Support NinjaKeymaster
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.
-
November 16, 2021 at 11:03 PM #130678MaxenceTPParticipant
Thank you for your answer,
About Flatsome, maybe these 2 files can help ?
https://github.com/nhannd314/flatsome/tree/master/inc/extensions/flatsome-lazy-loadAbout CookiesYes, I’ll see with the plugin author, they are working on it.
-
November 16, 2021 at 11:20 PM #130680MaxenceTPParticipant
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">
CopyThe image link in data-src is correct and works, but the image is not displayed though.
-
November 17, 2021 at 6:47 PM #130713MVX Support NinjaKeymaster
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, -
November 18, 2021 at 3:26 AM #130748MaxenceTPParticipantThis reply has been marked as private.
-
November 18, 2021 at 9:05 PM #130773MVX Support NinjaKeymaster
Thanks for sharing the access. Our team will get back to you.
-
November 18, 2021 at 10:33 PM #130785MaxenceTPParticipant
Thank you
-
November 19, 2021 at 6:50 PM #130818MVX Support NinjaKeymasterThis reply has been marked as private.
-
November 20, 2021 at 4:02 AM #130834MaxenceTPParticipantThis reply has been marked as private.
-
November 22, 2021 at 6:22 PM #130888MVX Support NinjaKeymaster
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,
-
November 22, 2021 at 7:54 PM #130895MaxenceTPParticipant
Alright, thank you
-
November 23, 2021 at 6:56 PM #130948MVX Support NinjaKeymaster
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,
-
November 24, 2021 at 2:33 AM #130982MaxenceTPParticipant
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 -
November 24, 2021 at 1:38 PM #130998MVX Support NinjaKeymasterThis reply has been marked as private.
-
November 24, 2021 at 5:16 PM #131006MaxenceTPParticipant
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?
-
November 24, 2021 at 9:13 PM #131020MVX Support NinjaKeymaster
@MaxenceTP, our team will check and get back to you.
-
November 24, 2021 at 9:52 PM #131024MaxenceTPParticipant
Ok thank you
-
November 25, 2021 at 6:10 PM #131036MVX Support NinjaKeymaster
Hi,
To enqueue js library please checkout the link – https://multivendorx.com/support-forum/topic/enqueue-scripts-to-manipulate-wcmp-vendor-dashboard-edit-product-page/Regards,
-
November 26, 2021 at 3:31 AM #131063MaxenceTPParticipant
Thank you, this problem is solved 🙂
-
-
AuthorPosts
The topic ‘Compatibility problem between the dashboard and 2 plugins’ is closed to new replies.