Postponed
Project:
Ubercart Discount Coupons
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2012 at 23:10 UTC
Updated:
12 Sep 2012 at 21:22 UTC
Jump to comment: Most recent file
Comments
Comment #1
wodenx commentedPlease test the attached patch. Ultimately I think this needs to be generalized, perhaps with a system setting that allows admin to specify which checkout panes are updated when a coupon is applied.
Comment #2
Rafal LukawieckiI have just applied and tested the patch, and it almost works, but not quite. This is what I have found:
If you think I should test it again on a different installation of Ubercart, I would be happy to try it a few more times, but I thought I would report to you now, just in case you have an idea what might be causing this issue.
Many thanks.
Comment #3
wodenx commentedYes you're right you need that patch (forgot i had it applied on my system) - however, with both patches it works as expected for me - I can't reproduce the behavior you describe. But I also cannot reproduce the behavior you describe at #1373236: Allow multiple modules to react on checkout Ajax events #14 - so something else is interfering with ajax requests from your page - maybe your theme? Try reverting to bartik and see if the problem goes away - and/or maybe try on a fresh drupal/uc 3.0 install....
Comment #4
Rafal LukawieckiI have recreated a new site, on a different server, using my current theme and the same set of modules, and the problem still persists. I have then disabled my theme and switched to Bartik, and the problem is still here. I agree with you, however, that this problem and the one, which I described in my comment to #1373236: Allow multiple modules to react on checkout Ajax events seem to be related. The reason I think so, is because when I click the "Update Order" or "Apply to order" buttons available on the Coupon pane, even without using a coupon, it correctly refreshes the payment methods pane and the payment summary.
So, to summarise, having applied both patches, I am experiencing this:
I am not sure if there is, perhaps, interaction with any other module, or perhaps the way my modules have been installed (uc_coupon directory is inside ubercart directory) or anything else. If you have any ideas what else I could test, check, or change, please let me know. I tested it in IE9, Chrome, Firefox, and Safari, on both W7 and OS X. It would be great to have this working on my site... Many thanks and I really appreciate your help, perhaps I could reciprocate somehow.
Comment #5
Michael-IDA commentedHi Chris,
Would probably be the 'nicest' from an User point of view. And even just being able to specify what gets to react on checkout Ajax events would be handy.
But in the interim, does the patch in [1373236] need to be re-rolled for -dev?
Or, maybe it'd be better to ask what version of ubercart and what version of uc_coupon should these two patches be applied to for testing?
Thanks,
Sam
Comment #6
wodenx commented@sam-inet - I updated the patch int #1373236: Allow multiple modules to react on checkout Ajax events to apply to current uc DEV, and posted an interim patch for uc_coupon to update the shipping methods at #1473062: Update shipping methods when coupon is applied.. That one will be superseded when the more general solution is implemented.
@rafal - Please try the latest versions of uc/uc_coupon with the patches and report back in either thread.
Comment #7
wodenx commentedComment #8
Rafal LukawieckiWill try early next week with the new patch. Thanks.
Comment #9
Michael-IDA commented@Chris,
I'll have time next week to test these.
Best,
Sam
Comment #10
Rafal LukawieckiAre these patches available for 3.2?