-
AuthorPosts
-
May 18, 2021 at 3:04 pm #1301000
Hi,
We are using YITH WooCommerce Gift Cards plugin on our store.
After someone has bought a gift card, email delivery date is set to 1970 rather then the year that the customer had assigned.
I’ve contacted the support team and here is what they’ve told me:
I have been testing in your staging site and seems that the problem is generated by your theme. If you change the theme to a default WordPress one like the Twenty Twenty-one, the delivery dates are properly stored.
The problem with your actual theme (Enfold Child) is that it’s not properly storing the delivery date when the customer selects it on the gift card product page, using the plugin date formats. Seem that your theme is using his own date pickers, where the plugin date format is not valid, generating the problem.
Unfortunately, from our side there is nothing that we can do to fix this problem, in this case, it’s necessary to contact with your theme support and ask them to take a look, so they can check the issue and try to fix it. Maybe there is a plugin option creating the incompatibility, but better contact them to be sure about it.
We also suggest disabling the postponed gift cards feature, to avoid any issue with the gift card delivery.
Let us know any news, please.
Have a nice day!
Do you have any idea of what it could be?
Thanks
May 20, 2021 at 8:26 am #1301326Hey Phet,
Thank you for the inquiry.
Would you mind providing a direct link to one of the gift cards? We would like to test it.
The theme is actually using the default jquery-datepicker and only applies it on element with the “av-datepicker” class name, so the plugin’s datepicker should be excluded or should not be affected by the script.
Best regards,
IsmaelMay 20, 2021 at 4:32 pm #1301430This reply has been marked as private.May 24, 2021 at 4:23 am #1301887Hi,
Thank you for the update.
Is it working correctly when litespeed’s css and js compression are disabled? We found a few script errors in the console, but we cannot exactly point out where they are coming from because the scripts are compressed and minified.
Can we deactivate the cache and minification plugin temporarily? Is there a staging or development version of the site?
Best regards,
IsmaelMay 25, 2021 at 3:48 pm #1302242Hi Ismael,
If you are working on the staging site, there is no problem to deactivate these features. I went ahead and deactivated them for you so you can continue testing it out.
FYI, the staging site is the one I’ve inserted in the private content.
May 27, 2021 at 12:52 pm #1302616Hi,
Thank you for the update.
The date picker is not working correctly because the plugin generates an error, which seems to be related to the select2 jQuery library. The error does not occur and the date picker works correctly when we set jQuery to the legacy version. We installed the jQuery Migrate plugin in the staging site and disabled the cache plugin temporarily.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.