Anyone has used UC Discount with optional module UC Shipping FlatRate?

I used Shipping Flat Rate module with no problem till I enable UC Discount. After checkout on cart, Shipping Flat Rate unable to show its option to choose. Hence makes an error says that we must choose at least 1 option for shipping rate.

I have no idea whether this is UC Discount or Shipping Flat Rate that must change.

Please help...

Comments

Alaska’s picture

Using Uber 1.6 and Drupal 5.14 and see the exact same issue. Doing a discount for order total. As in 10% off if $1.00 to $35.00, 20% off if $35.01 to $85.00, etc. This works fine.

Also have free shipping if the order is over $50.00 setup in the Shipping module. (All under Shipping Quote Settings)

When Discounts is applied, the Rate Quote Shipping no longer is applied and as stated above an error message (You must select a shipping option before continuing.) is displayed as to requiring a shipping method when "Click to calculate shipping" is activated. And the checkout process stops. Same if a Flat Rate Shipping is applied.

If Discounts is turned off the Rate Quote Shipping once again works.

Will also post in the Uber forum just in case someone has a fix.

Jim

Alaska’s picture

Looks like there maybe a solution.

See http://drupal.org/node/344579 for a patch. As indicated it will replace the code in the uc_discounts.module around line 336.

Tested and there is no longer the "You must select a shipping option before continuing" and the cart seems to process normally. Still have to text live with PayPal.

Alaska’s picture

Tested patch with PayPal on live server. Discounts are applied as needed. The rate quote shipping is applied correctly. Order is processed with PayPal with all discounts applied correctly.

Looks like this patch is the answer. It should be included in the download so that others do not experience a non working module.

pramudya81’s picture

Thanks Alaska....for the patch link...I'll try it ASAP.

pramudya81’s picture

Great now it works!

Alaska’s picture

One less issue to solve. Glad to see that it is now working.