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

googletorp’s picture

Status: Active » Closed (works as designed)

This is intended behavior, the changes are applied when the form is submitted.

mikejoconnor’s picture

Version: 7.x-1.0-rc1 » 7.x-1.x-dev
Category: bug » feature
Status: Closed (works as designed) » Active

I think this is actually a feature request.

googletorp’s picture

Status: Active » Postponed

I 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.

googletorp’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Status: Postponed » Closed (works as designed)

Moving this to 2.x.

lionsharz’s picture

First 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

googletorp’s picture

A - 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.

lionsharz’s picture

Great - 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