WooCommerce Local Pickup Plus compatibility with X-Theme

Hello Support,
We are running this WP site with X-Theme - all WP, Theme and plugins are current: https://www.abcblossoms.com/checkout/ - Toward the bottom of the checkout page, you can see the Local Pickup Plus has a popup calendar date picker. We checked with WooCommerce - it turns out this behaves properly with X-Theme active and viewed in the Safari browser, but when viewed using Chrome with X-Theme active the calendar does not show on hover and has a latency in working. If we disable X-Theme and enable a standard WP theme - like 19-27, the plugin works fine in all browsers. WC support suggested there may be some theme default override that is causing this conflict, and suggested we reach out to you for guidance. I have isolated the file and php code that controls this behavior, - I can send over WP credentials and supply the file and lines of code implicated if you wish. Thoughts?
Ned for Rene
ned.vansise@digitalbeach.org Ty.

Hi Ned,

Thanks for writing in! We do not provide support for 3rd party plugins, however I have tested this issue on chrome. First I received the following error when clicking on the field.

Then when clicking on the second time, it loaded the date picker.

Also I see the following error on the console log.

Thanks!

Hi Support,
Thank you for this. FYI, I reached out to Local Pickup plus Support - we exchanged a chat and found that this appears to behave normally in other browsers, e.g. Safari and EI, but not Chrome. Further, if we disable X-theme and enable some other plain vanilla theme, like 26-18, if also behaves normally. Their support is asking if there may be some default x-theme php code that may have causing this, and if we can try disabling.

Please let me know your thoughts, Ned
ned.vansise@digitalbeach.org

Hi @rstreng,

It’s javascript performance related issue which may behave differently on other browsers. Plus, the vanilla theme doesn’t have any scripts that could contribute to the issue. If it’s due to the theme alone then it should be working regardless of browser.

Unfortunately, it’s something we can fix but we’ll continue checking that plugin. But we can’t promise any workaround or solution since it’s a 3rd party plugin.

Thanks!

Not sure if I entirely agree - yes, it seems to be some sort of conflict between the Local Pickup JS and the X-theme - which would account for the issue going away when another theme is activtivated - and I have seen before when Chrome or some other browsers specifically shows a hitch with js when others do not.

YITH shows the code here:
It’s likely at this line in that boxed in ajax file. http://cld.wthms.co/QFXIp2
Line 792 in class-wc-local-pickup-plus-ajax.php

Any thoughts on what could be in conflict?

Hi @rstreng,

That looks like the issue is only related to the plugin. It has its own ajax processing with has no connection to the theme. Plus, the only integration with X theme and woocommerce is some templates in /x/woocommerce/ , and of course some few codes to alter the look of shop layout. There is no integration with cart processing, shipping, and any Woocommerce data processing.

Maybe the could look on that ajax result and see what’s being sent from your site to user’s browser.

Thanks!

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