Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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

    #1301326

    Hey 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,
    Ismael

    #1301430
    This reply has been marked as private.
    #1301887

    Hi,

    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,
    Ismael

    #1302242

    Hi 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.

    #1302616

    Hi,

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.