• Hi all.

    Does anyone know how to programmatically get the possible shipping methods for an order, before the address has been entered?

    I offer 2 methods for the entire world. I need to be able to have the costs of these as radio-button options in the checkout, so they can be passed straight to paypal without people having to enter address details that are already in paypal.

    This is proving to be extremely difficult – which is a pity, because it used to work before the upgrade.

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Nick Taylor

    (@nickwit)

    I’m asking for this programmatically, because I cannot for the life of me find a way of showing a radio list of shipping options prior to the customer entering their address. I just assumed that this was well and truly broken by the addition of shipping zones…

    … so if there’s a way of giving customers a choice of shipping type without entering an address, and without me having to code my own, that would be a whole lot better.

    I’ve been fighting this one for about a week now.

    Thread Starter Nick Taylor

    (@nickwit)

    Okay – I’ve managed to bodge it by making customer’s default address the same as the shop address.

    So I’ve basically made it so it looks like everyone comes from New Zealand.

    Good enough for me, although it is about 5% sub-optimal on account of it not representing reality exactly. Not everyone does actually come from New Zealand. This assumption in the model is possibly storing up trouble.

    Still… the alternative was making shipping free.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to get shipping methods for order’ is closed to new replies.