• Resolved Lori Boone

    (@pleazo)


    Hello,

    I am hoping someone can help me with this bug.

    I want to offer vendors in Germany (in certain postal codes) to have the option to offer free local pickup & regular paid shipping. But the cart is showing me local pickup 2x and no regular shipping.

    This is the settings I have done:
    1. I have enabled Local pickup (Berlin only with selected postal codes) in WP admin: https://snipboard.io/tOAmij.jpg & https://snipboard.io/K69ME2.jpg
    2. I have enabled Local pickup (Berlin only) in the Dokan’s vendor dashboard: https://snipboard.io/iwrmMb.jpg

    I am doing a test with postal code 12043 which should offer Local pickup (Berlin only) + regular shipping.
    ISSUE: Sometimes 12043 shows correctly https://snipboard.io/7OP6by.jpg & sometimes it does not https://snipboard.io/sQMfap.jpg

    Why is local pickup showing up 2 times here sometimes?

    Best,
    Chris`

    • This topic was modified 3 years, 4 months ago by Lori Boone.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @pleazo,

    Thanks for sharing all those screenshots- that was super helpful.

    I took a look at the site and was able to reproduce the issue with Local Pickup showing twice. Based on what I could see inspecting the code and looking at the shipping setup, I suspect that the issue is related to the “Vendor Shipping” method in that Shipping Zone. That method mentions that it can “charge varying rates based on user defined conditions”, so I would recommend checking to see if there are certain conditions set in that shipping method that offer the regular shipping rate in some cases (like for certain items or specific vendors) and other cases where “Vendor Shipping” may offer Local Pickup instead.

    Thread Starter Lori Boone

    (@pleazo)

    Hi @shaunkuschel

    Thanks for your response. Unfortunately, there are no certain conditions in the Free Local pickup (Berlin only) shipping method.

    These are the settings:
    1. Local pickup in Dokan vendor dashboard: https://snipboard.io/lJ5axH.jpg (this is automatically added via WC admin shipping settings) & https://snipboard.io/gl938E.jpg

    2. Product settings for shipping:
    https://snipboard.io/23kHFe.jpg

    I also noticed this while doing some tests:
    1. If the vendor diables the Free Local pickup (Berlin only) shipping method, it still always shows up as an option in the cart for all Berlin postal codes: https://app.usebubbles.com/uaeGEWsvbZjLoRQVtgRzoZ/comments-on-pleazo-com

    2. If the vendor enables the Free Local pickup (Berlin only) shipping method, if I put the postal code as 12043, it works properly at first showing Free Local pickup (Berlin only) & regular shipping. Buta few tries later, 12043 then shows Free Local pickup (Berlin only) & Local Pickup (shipping method):
    https://app.usebubbles.com/vBnoxzLv4rLyUWRmnecWPo/comments-on-pleazo-com

    The bug looks like if a buyer is in postal code targeted in Free Local pickup (Berlin only) ie 12043, the cart will randomly show the shipping methods correctly or show local pickup 2 x.

    Any idea why?
    Best,
    Chris

    Thread Starter Lori Boone

    (@pleazo)

    @shaunkuschel Also wanted to mention this reply from Dokan (not sure if it’s true since I just tried the following but still have the same issue):

    “WooCommerce detects shipping zone from top to bottom.

    In that case, you need to keep the less area containing shipping zone at the top and the most containing area shipping zone at the bottom. Most containing mean that reason takes a whole country or a zone. In your case, you need to keep the EU at the bottom. Cause it contains several countries that make it a most containing area shipping zone.

    And you can keep the Local Pickup (Berlin) at the top cause it just containing several cities with zip codes.”

    Best,
    Chris

    Plugin Support Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @pleazo,

    The description from Dokan about how shipping methods are matched is correct, though, I’m not entirely sure how vendor shipping is supposed to work alongside core WooCommerce methods (like Local Pickup), but it sounds like this is the expected behavior when there are 2 shipping methods in the same shipping zone.

    Plugin Support Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Since we haven’t heard back from you in a while, I’m going to mark this as resolved. If you still need assistance with this or have any further questions, please feel free to create a new thread. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Local pickup issue: showing 2x in checkout’ is closed to new replies.