Jump to:

2088 Posts in 1007 Topics by 455 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » Trigger a refresh of current order when billing country changes

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Page: 1
Go to End
Author Topic: 628 Views
  • PapaBear
    Avatar
    Community Member
    26 Posts

    Trigger a refresh of current order when billing country changes Link to this post

    Hi all,

    We have a client with a simplified e-commerce system based around the e-commerce module. In the order form on the Checkout Page is a "Shipping Destination" field which is intended to be used to calculate the weight based freight charge for the order.

    How can I trigger a refresh of the freight field in the order and in the display when the customer changes the Shipping Destination field in the order form. I'm guessing some form of custom client-side validation is required but I'm at a loss how to implement this.

    I would prefer the displayed order details changed on the fly but if I have to save the partially completed details and trigger a page refresh then that will be ok too.

    Can anyone offer some suggestions or code from a similar requirement?

    Cheers
    James.

    628 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.