When one creates more than one type of flat-rate shipping (see attached file: flat-rate-types.png), only one of them is displayed in the "calculate shipping cost" pane at checkout (see attached file: only-one-choice.png). The method that is displayed corresponds to the one that is set lowest on the "list position" setting.

At checkout, if you select the shipping option that is displayed, the "order total preview" section doesn't update at all to reflect shipping.

If you deactivate all but one of the types of flat-rate shipping, everything seems to work fine.

This issue is present regardless of if any Conditional Actions are set up or not. If you set CA to only allow one type of flat-rate shipping for a particular class of product, it works fine -- unless you try to checkout with that product and another product that is set to use a different flat-rate shipping type. In that case, the issue returns. No combination of settings will allow you to properly choose between shipping types at checkout, regardless of the number of products involved or Conditional Actions settings.

This issue was present in 2.0-beta5, but was also present in the latest development snapshot as of today.

Comments

rszrama’s picture

Assigned: Unassigned » Island Usurper
TwistedLincoln’s picture

UPDATE: Through various testing, I am able to confirm that this issue only seems to occur when using the thickbox plugin for the Drupal module "Ajax" (http://drupal.org/project/ajax). If the thickbox ajax plugin is disabled, the issue disappears, and multiple flat-rate shipping selection is possible as normal. When you re-enable the plugin, the issue reappears.

I'm not sure if this is a bug in Ubercart or the Ajax module, however. I re-tested using the latest development snapshot of the Ajax module, with no success.

Island Usurper’s picture

Title: Unable to use more than one type of flat-rate shipping » Thickbox plugin breaks Ubercart shipping quotes
Project: Ubercart » Ajax
Version: 6.x-2.0-beta5 » 6.x-1.x-dev
Assigned: Island Usurper » Unassigned

I'm passing this issue along because I don't have any experience with the Ajax module, so, I don't have any idea how it might be conflicting with the shipping quotes. The relevant code in Ubercart will be contained in the uc_quote module. If anyone wants a quick explanation of how it works, just leave a question on this issue, since I'll still be subscribed to it.

brendoncrawford’s picture

Assigned: Unassigned » brendoncrawford

I will have a look.

Thanks

Starminder’s picture

subscribe

Starminder’s picture

any news? thanks

TwistedLincoln’s picture

I'm no longer seeing this problem using version 6.x-1.14 of the Ajax plugin alongside Ubercart 2.2 -- I will continue testing and will report back if the issue returns.