• Resolved jo-li

    (@jo-li)


    Hi,

    Noticed after latest update that the pickup time delay doesn’t work as expected. Also noticing that it shows “times” in drop down that are in the past. Ex. current time is 20:30 it starts from 19:30 when with 1hour delay it should start at 21:30.

    I double checked the timezone for the site and it shows the correct current time.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Tim Nolte

    (@tnolte)

    @jo-li please provide the following details:

    Website URL
    PHP Version
    WordPress Version
    WooCommerce Version
    Plugin Version
    WordPress Timezone Setting
    WordPress Date Format Setting
    WordPress Time Format Setting
    All Plugin Start/End Pickup Time Settings
    Plugin Pickup Time Interval Setting
    Plugin Pickup Time Delay Setting
    Plugin Pickup Time Open Days Ahead Setting

    There is already an issue opened related to a time delay issues (https://github.com/mattbanks/woocommerce-local-pickup-time/issues/73), however I suspect this is due to a WordPress update and not the plugin as the last update had no code changes and was updated only for development libraries used during the plugin build process.

    Thread Starter jo-li

    (@jo-li)

    Website URL-
    PHP Version – 7.3
    WordPress Version – 5.3.2
    WooCommerce Version – 4.0.1
    Plugin Version – 1.3.11
    WordPress Timezone Setting – Helsinki (doesnt matter how I set the timezone, but seems it uses UTC regardless of setting, tried with various)
    WordPress Date Format Setting: d/m/Y
    WordPress Time Format Setting: H:i
    All Plugin Start/End Pickup Time Settings
    Plugin Pickup Time Interval Setting: 30min
    Plugin Pickup Time Delay Setting: 1h (doesnt matter what value used)
    Plugin Pickup Time Open Days Ahead Setting: 5days

    I need to replace the plugin if can’t find an hotfix for this as the customer is really complaining as it is for food pickup and due to the Corona this is really critical right now.

    Plugin Author Tim Nolte

    (@tnolte)

    @jo-li I will say that this seems to be caused by either a PHP, WordPress, or WooCommerce change because nothing has changed with the plug-in with how pickup delay works in a very long time. The recent update only had some development library updates and nothing with the actual code that runs on the site.

    I am working on testing your combination of versions to determine what is going on. Thanks.

    Thread Starter jo-li

    (@jo-li)

    Any update on this bug ?

    Plugin Author Tim Nolte

    (@tnolte)

    @jo-li what other plugins do you have installed? I’m wondering if there is another plugin that is incorrectly setting/changing the timezone, which would be affecting the plugin. Do you have other WooCommerce add-ons/extensions? If you are really using Europe/Helsinki Timezone then this shouldn’t be a problem.

    Thread Starter jo-li

    (@jo-li)

    The woocommerce related plugins in use are: Checkout Field Editor for WooCommerce, Extra Product options for WooCommerce, WooCommerce Multilingual (WPML), Payment gateway. The interesting part that on all other locations the time comes up correctly (order times etc.)

    I need to replicate the environment and start debugging this, bit of a trouble since all restaurants close and move only to delivery / pickup mode end of this week so it is critical.

    Plugin Author Tim Nolte

    (@tnolte)

    @jo-li I found an issue between the timezone settings and newer releases of WordPress. Please update to the latest version of the plugin.

    Plugin Author Tim Nolte

    (@tnolte)

    Version 1.3.12 was release that should now resolve this issue.

    Thread Starter jo-li

    (@jo-li)

    Thank you, the fix resolved the issue. But broke an customization I had made…

    Our customer use the woocommerce mobile app to handle most orders and in the app the pickup field is not displayed (unless this was implemented later) so I’m adding this info to the private order notes but somehow now it lost the timezone there and displaying UTC.

    Plugin Author Tim Nolte

    (@tnolte)

    @jo-li I’m sorry but if you modified the plugin, or are using the plugin’s internal code in some way that we haven’t published, then you’ll have to stay on top of the code changes and update it to work with and plugin changes. We haven’t spent any time to see what we can support with the mobile app. How are you putting the pickup date in the notes?

    Thread Starter jo-li

    (@jo-li)

    no didnt touch the plugin code at all. I added an action to the checkout to update the order meta, and populate a note with any needed info that is missing from the mobile app (basically anything that is not in the basic woocommerce fields is missing). I now did similar fix as you did on that code and it works again as I had borrowed parts from the pickup_time_select_translatable method.

    Plugin Author Tim Nolte

    (@tnolte)

    @jo-li I think what would help you here is if we provided you a method that you can just call. Since we haven’t done that I can understand your need to do what you did. I’ll open up a ticket on this and see about adding something official so that you don’t have to worry about maintaining copies of our code.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Pickup time delay’ is closed to new replies.