• Resolved Hendra Setiawan

    (@hendcorp)


    Hi, I’m trying to use this plugin on my multi vendor WooCommerce site.
    I need to know if there is any hook / function that I can use to override postcode source?

    Basically, instead of using store’s postcode, I want to use vendor’s postcode as the source of the shipping cost calculation. So it can be vary based on the vendor (author) of each item.

    Also, as additional information, we only allow our customer to purchase from one vendor on each checkout to simplify the calculation logic.

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Waseem Senjer

    (@waseem_senjer)

    Hello Handra,
    Thanks for using our plugin.

    The problem for this idea is that our plugin does pack multiple products in one package to optimize the shipping prices. Adding a hook to modify the postcode per product won’t work for all the plugin users unless if the plugin divide packages based on the vendor postcode. Please, let me know if you have an idea of how that would work.

    Best Regards,
    Waseem

    Thread Starter Hendra Setiawan

    (@hendcorp)

    Hi Waseem,
    thank you for your quick response. I appreciate it.

    What is that mean by “pack multiple products in one package”?
    I thought it will calculate the shipping price based on the weight and dimension of each product?

    Thank you!

    Plugin Author Waseem Senjer

    (@waseem_senjer)

    Hello Hendra,

    What is that mean by “pack multiple products in one package”?
    I thought it will calculate the shipping price based on the weight and dimension of each product?

    Yes, it means if two products were in the cart, one product weight is 2kg and the other is 5kg. Then the plugin will send the data to Australia Post API as one package of the weight of 7kg. The same for the dimensions. They will be combined in one package.

    Please, let me know if you have any other questions.

    Waseem

    Thread Starter Hendra Setiawan

    (@hendcorp)

    Hi Waseem,
    it sounds perfect as we only allows the buyer to purchase products from single seller.

    They can purchase multiple items as long as the items are from same (single) seller.

    So in this case, we only need to know if there is any hook/function to change the source of the postcode. We have to get it from the seller’s postcode instead of from store’s postcode so it can be calculated properly.

    Thank you!

    Plugin Author Waseem Senjer

    (@waseem_senjer)

    Hi Hendra,

    There is no hook at the moment in the plugin for changing the destination postcode.

    My concern is if we add this filter, users will assume that they can use it freely, but if their store allows for multi-purchase, then the hook will actually create a bug if it was used.

    Best Regards,
    Waseem

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Hook to change store post code source’ is closed to new replies.