PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 4/24/2020 12:24 PM by  Will Strohl
Show two shipping options simultaneously
 4 Replies
 1 Subscribed to this topic
 1 Subscribed to this forum
Sort:
You are not authorized to post a reply.
Author Messages





Basic Member






--
4/21/2020 8:33 PM
    Hi all

    I have an existing store that wants to be able to offer to options in the checkout for the customer to choose from, in my case the two options are.

    local delivery flat rate $10
    click and collect $0

    I could also see a use case where it might be
    standard delivery $10
    express delivery $15
    I assumed this would be as simple as adding another "flat rate per order" shipping method to my store, however this displayed neither shipping options. then created a new ship[ping zone(covering the same regions) and applied this to my new click and collect method. now only the cheaper ($0 method) displays.
    how can I make it possible to show both options and allow the uses to choose there option?





    Basic Member






    --
    4/21/2020 10:46 PM
    update here for anyone else trying to do this.
    It was as simple as I had first thought and it was a mater of me clearing cache to see changes and both options displaying.





    Veteran Member






    --
    4/22/2020 3:59 PM
    Thanks for posting the solution. I generally don't have to clear cache when doing this. The most common reason a shipping option usually doesn't show up is when the test address(es) don't match a shipping zone.
    Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes





    Basic Member






    --
    4/22/2020 4:32 PM
    thanks Will,

    While I have you, do you have any thoughts on how to reorder the display and select the default shipping options? It seems to currently work where the cheapest shipping option is chosen by default, however I require the more expensive option to be the default.





    Veteran Member






    --
    4/24/2020 12:24 PM
    You're correct that the cheapest option is always selected by default. In order to change the default shipping option, you'll need to update the RefreshShippingRates() method in the Checkout.js script of your custom viewset.
    Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes
    You are not authorized to post a reply.


    Loading
    • Sign-up for the Hotcakes Community Newsletter: