• Resolved devignn

    (@devignn)


    Hi,

    I’ve set up a (local) delivery zone based on postal codes in my area. People outside of this zone can only choose to pickup their delivery.

    However your plugin still allowes people to choose delivery, and a date and time for delivery even when their adress is outside of the zone. I know my zone works, because woocommerce automatically changes the delivery to pickup.

    Is there a way for the plugin to remove the delivery option when an adress outside of my zone is entered?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author mdalabar

    (@mdalabar)

    Hi,

    If you choose delivery option at top of checkout page and then put a zip code, and when that zip code is allowed for pickup only, now if you try to complete the order it will add notice that will say no shipping method available and order cant be completed. Just try to complete the order and you will get it.

    As the choice of delivery/pickup appear before entering the zip code so, you cant manipulate the delivery/pickup option there based on zip code, that can be possible if you pull down the date-time section below address field using WC hooks, and then use available WC zone based on user’s zip code to show/hide delivery/pickup buttons.

    The easiest way is if you allow only pickup then make the pickup button visible only from the plugin settings page.

    Thanks

    Plugin Author mdalabar

    (@mdalabar)

    Hi,

    Marking ti resolved as there is no more comment, so hoping its resolved now.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can still choose delivery, even with adress outside my delivery zone’ is closed to new replies.