Incompatible with Shipping module

pramudya81 - January 16, 2009 - 03:47
Project:UC Discounts
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

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

#1

Alaska - January 27, 2009 - 21:34

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

#2

Alaska - January 27, 2009 - 22:53

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.

#3

Alaska - January 28, 2009 - 09:34

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.

#4

pramudya81 - January 28, 2009 - 09:38

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

#5

pramudya81 - February 10, 2009 - 03:55

Great now it works!

#6

Alaska - February 11, 2009 - 10:05

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

 
 

Drupal is a registered trademark of Dries Buytaert.