2004 Posts in 533 Topics by 435 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, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 503 Views |
-
Trigger a refresh of current order when billing country changes

17 February 2010 at 2:42pm
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.
| 503 Views | ||
|
Page:
1
|
Go to Top |

