Posted by mcaden on July 4, 2009 at 6:49am
Jump to:
| Project: | Ubercart Discount Coupons |
| Version: | 6.x-1.3 |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
In cart and checkout I've tried applying coupon code and I get the message "The coupon has been applied to your order."
However, the price doesn't change there in the cart and the coupon doesn't show up in the cart.
If I follow the purchase through to the end, it shows on the invoice so I know it worked and I can see it on the reports, but this can be very confusing to the user.
Comments
#1
It is not easy to hook into theme_cart_review_table() to add extra items to the cart table. However, I have added the coupon value to the message on the cart page to improve things a little.
#2
I also think this will be confusing to customers. Is there any plan to get the discount amount into the cart or review table?
#3
This would be great!
#4
Yes, please.
#5
I agree, this is confusing to people when they need to scroll down to see the discount. +1 for some kind of fix.
#6
+1 for this.
#7
+1
#8
+1
#9
I noticed that the uc_discounts_alt module (which extends uc_discounts) has functionality that does update the cart; see the product_price_alterer_field sub-module.
It seems like there's a lot of overlap between uc_discounts_alt and uc_coupons; the former is certainly more complicated for administrators (UI not as nice, either), but there are also some good things going on there. It would be nice to see these merged. And one day when I get time, I'll do it :-)
#10
A pretty simple fix to this would be to have jQuery clone $('div#line-items-div table') on cart/checkout, remove $('table.cart-review td.subtotal'), and append said cloned object in its place. There are probably dozens of similar ways to accomplish this for better styling too.
#11
I did see that uc_discounts_alt modifies the table via jQuery but thought this was a pretty ugly solution, it would be better to modify the table before it is even sent to the browser. If someone has a "simple fix" though please post a patch and I'll be happy to review/commit it.
#12
subscribing
#13
+1
#14
+1
#15
In using this with ubercart 6.x-2.2 I don't even get a message. It doesn't work at all. I am using a product with a cost of $0.00 then have attributes that are required. The attributes cost $19 each the coupon is worth $57 but it does nothing when you type in a code. It doesn't come back and say invalid code or anything.
#16
+1
This feature would be very handy
#17
+1 Agreed - this is a really important usability issue which I think almost every other checkout has. If I knew enough about the UC API I would try and contribute but I'm afraid I don't.
All the best =o)
#18
Maybe the easiest way would be to add an additionnal pane just under the cart with hook_cart_pane() (http://www.ubercart.org/docs/api/hook_cart_pane)
This pane would contain a line with the coupon displayed like a product and another line with a final subtotal
#19
If you are in dev env and dont have the "payments" option in UC Core selected you won't see the discount applied.
#20
Figured out a way of doing this fairly cleanly. Committed to CVS, this feature will be available in the next release.
#21
Great, I need this functionality as well!
Got request for this by user today!
#22
Automatically closed -- issue fixed for 2 weeks with no activity.
#23
With me the coupon only applies after a hard refresh to the review-pane. In which release is the option available?
#24
I *think* the fix that longwave committed only applied to the cart page (not the checkout page). I believe the trouble on the checkout page is that the uc_vat module also modifies the cart pane. See #1061086: Shopping cart not updated. I'll try to look into it further when I have a chance.