Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Alaska CreditAttribution: Alaska commentedUsing 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
Comment #2
Alaska CreditAttribution: Alaska commentedLooks 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.
Comment #3
Alaska CreditAttribution: Alaska commentedTested 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.
Comment #4
pramudya81 CreditAttribution: pramudya81 commentedThanks Alaska....for the patch link...I'll try it ASAP.
Comment #5
pramudya81 CreditAttribution: pramudya81 commentedGreat now it works!
Comment #6
Alaska CreditAttribution: Alaska commentedOne less issue to solve. Glad to see that it is now working.