Active
Project:
Ubercart Discounts (Alternative)
Version:
6.x-2.4
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2012 at 16:11 UTC
Updated:
6 May 2013 at 21:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
panvera commentedI am having similar problems. The discount show up until the very end and when the customer hits submit, they are charged for the full amount and no sign of the discount in the bottom payment information.
Comment #2
kscheirerI'm seeing this problem as well. Except even when following the instructions in #1 (hit back, and then checkout review again) the discount is always missing from the total payment pane.
Comment #3
gabble commented+1
Comment #4
Anonymous (not verified) commentedhere's the solution http://drupal.org/node/1067440#comment-5599846
Comment #5
gabriel.achille commentedHi
I spend almost a day somewhere around this issue (Discounts not shown in Checkout Review page). The solution mentioned in #4 wasn't working for me. Until I found an explanation in a bad initialization of variable: the attribute variable
uc_discounts_is_fully_discountedstay set to true during repetitive call to functionget_discounts_for_orderinBut I'm running Apache on Windows XP SP3 - PHP 5.3.8 (Drupal 6.26) so It might be specific to my environment.
Here is the patch that work for me.
Comment #6
giorgoskI had this problem when disabling discount pane
admin/store/settings/checkout/edit/panes
and following this issue #1067440: Discounts not carried through to checkout review and order if discount pane not displayed realized it might be the disabled pane was the problem but did not want to try the patch as it was not clear that it was going to be accepted by the module maintainer
I reenabled the discount pane and all was working fine
I ended up hidding the pane using CSS since I was not using any CODES
Comment #7
retiredpro commentedthanks gabriel.achille. I had the same issue with checkout review page not properly apply discount and your patch from post #5 fixed it for me.