• Resolved Ravi

    (@ravi9)


    Hello,

    1) I want to create a store with about 100+ shipping points.

    2) One shipping point for each shipping zone. Each shipping point will have a manager.

    3) When an order is placed, the order should be assigned to a shipping point (according to the pin code).

    4) Admin gets notifications when a order is placed.

    5) shipping point manager gets notification when an order is placed for his point.

    How can I get this done.

    After searching, I have found few plugins that let customer select a pickup point at the checkout page. This can be an alternative solutions. But I will have 100+ shipping point. So, selecting one from 100+ options will not be a good option for customers.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You’re going to need custom coding to get this exactly how You want it. To the best of my knowledge this is not offered by any existing plugins.

    But let me describe how I would solve it and how you can minimize the amount of custom code you need.

    1. Do the bulk of the work using WooCommerce shipping zones. You have to set up one shipping zone per pickup location and assign “local pickup” as the only available delivery method. WooCommerce doesn’t let you add any extra data to a shipping zone, so the extra data you need will need to be overloaded into the shipping zone name. I.e “East Manhattan, John McLain, [email protected]

    This reuses the built in system of shipping zones to assign correct location based on zip-code. I will take some work, but at least you have a UI to do it with.

    2. You then write PHP code that is triggered when a new order comes in. The code will only do one thing. Look up the shipping zone for the order, split it into parts and add them as order meta data; “shipping_zone_manager” and “shipping_zone_manager_email”.

    For this part, I can’t see anyway around writing code. Hint: There will be an order item named ‘shipping’. This order item has a meta data named “instance_id”. The instance ID contains the id of the shipping_zone_method which contains information about the shipping zone. Cumbersome, but it’s a one time job to write the code.

    3. Use a notification plugin to send notifications to each manager. For this part, I’d use WunderAutomation, free on the plugin repo, to send out an email, SMS or Telegram message to the shipping zone manager. Obviously this is done using the contact information that is available in the custom order meta data added in step 2.

    I thought this was a really interesting problem. So I’ve written a blog post about a potential solution here:
    https://www.wundermatics.com/2020/05/17/woocommerce-notifications-for-multiple-pickup-locations-via-shipping-zones/?preview=true&_thumbnail_id=3219

    Thread Starter Ravi

    (@ravi9)

    @wundermatics
    Thank you so much for your effort and proving me custom code.
    But it doesn’t seems to be working. I just created a test site, but mails are not sent.

    If you want, can I share login details of test site.

    Regards:
    Ravi

    Thread Starter Ravi

    (@ravi9)

    @wundermatics
    UPDATE:
    Your code worked now. Thank you so much. Tried again today morning and it worked this time.

    Just wondering if your plugin WunderAutomation support SMS notification.

    REgards:
    Ravi

    Hi, glad to hear you made progress!

    Yes, WunderAutmation supports lots of notification channels via add-ons. If you’re comfortable using encoding and APIs directly, this blog post shows you a free way to connect WunderAutomation with Twilio for SMS:
    https://www.wundermatics.com/2019/11/26/woocommerce-sms-notifications-with-twilio/

    If you’re less comfortable, there is an add-on that will do this for you here:
    https://www.wundermatics.com/product/wunderautomation-twilio/

    • This reply was modified 4 years, 6 months ago by wundermatics.
    Thread Starter Ravi

    (@ravi9)

    Thank you again @wundermatics
    Twilio looks good. Will definitely check this plugin.

    I guess it would be great… if I can achieve something like this:

    1) Delivery point manager can view / edit / add order of his shipping zone only.

    And thank you again ??
    Regards:
    Ravi

    Plugin Support Thu P. a11n

    (@thup90)

    Hi there,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thread Starter Ravi

    (@ravi9)

    Solutions provided by @wundermatics did work but wasn’t able to meet everything.

    Like:
    1) Shipping point manager should be able to access / edit / modify orders of his area.
    2) Manager should be allowed to access only order of his area.

    • This reply was modified 4 years, 6 months ago by Ravi.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘One Store with Multiple Shipping Points’ is closed to new replies.