• Resolved Five5star

    (@five5star)


    Hello
    with the update, still have the problem with a blank line before the date and hours to choose. if the customer doesnt choose a pickup date, and that the blank line is chosen, i receive a “none” in the order for the pickup time.
    How to get rid of this first blank line in the date menu in the chekout page?

    The page I need help with: [log in to see the link]

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

    (@tnolte)

    @five5star do you have the field marked as required in the plugin settings? The blank line should be seen as empty requiring the field to be filled in before the checkout can be completed. Have you customized anything with how you checkout works, it’s possible this is a problem being caused by some other plugin as well.

    Plugin Author Tim Nolte

    (@tnolte)

    @five5star you can test this out that it’s working on my Testing Shop. https://test.wclocalpickup.com/checkout/

    If you enter Hudsonville, MI 49426 as the shipping location then Local Pickup is the available shipping method, and it won’t let you checkout if a pickup time isn’t chosen.

    Thread Starter Five5star

    (@five5star)

    yes filed is marked as required, but first line is empty : https://fromsmash.com/V3~a25Pyjj-ct here are screenshots

    Plugin Author Tim Nolte

    (@tnolte)

    @five5star the first line is supposed to be empty. The empty line is what causes validation and throws a warning that the field is required and prevents the user from checking out. If there wasn’t an empty line people would ignore the field altogether and you’d end up with everyone picking the first time slot.

    Thread Starter Five5star

    (@five5star)

    Plugin Author Tim Nolte

    (@tnolte)

    @five5star did you try adding your own code at some point to prevent the Local Pickup Time from showing when Local Pickup wasn’t the shipping method? If you did then that is probably what is causing your problem. You will need to remove that code and use the new option in the plugin settings to associate Pickup Time with Local Shipping Methods only.

    Thread Starter Five5star

    (@five5star)

    yes i understand the line has to be empty, but it should be possible to select it. The field is required, but if the customer has the blank line selected, he can proceed to order, and on the order i have “none” in the pickup time.

    https://fromsmash.com/V3~a25Pyjj-ct here are screenshots

    Thread Starter Five5star

    (@five5star)

    Local pickup is the only shipping method i have ob this site, no other option. It is only Click and Collect.

    my settings for Local Pickup : https://fromsmash.com/xC_PvqtHSZ-ct

    Plugin Author Tim Nolte

    (@tnolte)

    @five5star what version of WordPress, WooCommerce, and PHP are you running? I will take a look at your site checkout once I return home later today, to see if I notice anything.

    Thread Starter Five5star

    (@five5star)

    WP 6.0
    Woocommerce 6.5.1
    PhP 7.4.29

    Plugin Author Tim Nolte

    (@tnolte)

    @five5star I just checked your site and something is wrong with the validation of your entire checkout page. If I don’t fill out anything in your checkout the only validation error I receive is for the missing credit card number. This tells me that you have an overall checkout validation issue that is not anything to do with the Local Pickup Time. I’m not sure if it is the Stripe payment plugin that is causing this or one of the other WooCommerce plugins you are using, but you might want to look into those. The fact that my own Test site is working as expected with a standard WordPress & WooCommerce install points to another problem with your setup.

    Thread Starter Five5star

    (@five5star)

    oh ok you are right ! i use Checkout Manager for WooCommerce and Store Customizer, maybe there is something there

    Thread Starter Five5star

    (@five5star)

    problem solved ! as you told me, the problem came from the Stripe plugin, i removed it and replaced it by Woocommercer Payments and required fields are now really required.

    Plugin Author Tim Nolte

    (@tnolte)

    Excellent, great to hear you found the solution.

    Plugin Author Tim Nolte

    (@tnolte)

    Noting tags relevant to the issue.

    • This reply was modified 2 years, 9 months ago by Tim Nolte.
Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘Still the problem with first line of date choice’ is closed to new replies.