Closed (works as designed)
Project:
Commerce Shipping
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Aug 2011 at 15:34 UTC
Updated:
28 Mar 2012 at 23:46 UTC
I created a standard and express option for shipping and when I switch between them I see the little ajax gear thing but the line item isn't added or updated on the checkout page.
Comments
Comment #1
googletorp commentedThis is intended behavior, the changes are applied when the form is submitted.
Comment #2
mikejoconnor commentedI think this is actually a feature request.
Comment #3
googletorp commentedI can say up front that I won't work for this, but I will review patches.
This would also have to be an optional feature, since not all workflows would have use for this.
Postponed until some one wants to do all the hard work.
Comment #4
googletorp commentedMoving this to 2.x.
Comment #5
lionsharz commentedFirst up I have already posted a support request on this over at flat rate (putting a checkbox to add an "express" amount to shipping at user discretion).
But if u have a second for a couple questions...
A) doesn't this already exist in the Example Shipping Module? I'm not a progammer but I have looked at the small sample module which has this functionality and it seems relatively small.
B) could that functionality be used in other shipping methods or is it just for that Example one, as it is contained in its own module?
Thanks for any advice
Comment #6
googletorp commentedA - What have been created in the example module, is an illustration of the possibility to create a custom form that affects the shipping price. THis needs to be developed however (code).
B - You could create similar functionality in other shipping modules, but you would have to create some code, to define the form activated when you select the shipping method and code that knows how to handle the selection.
This case isn't about these things really, but is about the prices in the cart auto updating when you select the different shipping methods.
Comment #7
lionsharz commentedGreat - thanks for coming back. That´s as I thought. The Shipping Example is a sample module for those who want to roll their own later (rather than something a site builder like myself can access from within Drupal / Rules / Shipping menus)
A little off topic too -nice one for the feedback