Closed (fixed)
Project:
Ubercart Discount Coupons
Version:
6.x-1.3
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jul 2009 at 06:49 UTC
Updated:
9 May 2011 at 12:28 UTC
Jump to comment: Most recent
Comments
Comment #1
longwaveIt 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.
Comment #2
pwesthagen commentedI also think this will be confusing to customers. Is there any plan to get the discount amount into the cart or review table?
Comment #3
nelslynn commentedThis would be great!
Comment #4
nelslynn commentedYes, please.
Comment #5
mandclu commentedI agree, this is confusing to people when they need to scroll down to see the discount. +1 for some kind of fix.
Comment #6
asak commented+1 for this.
Comment #7
adam_c commented+1
Comment #8
ryanmargheriti commented+1
Comment #9
tharrison commentedI 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 :-)
Comment #10
whicks commentedA 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.
Comment #11
longwaveI 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.
Comment #12
micheleannj commentedsubscribing
Comment #13
Michael Zetterberg fd. Lopez commented+1
Comment #14
spylvas commented+1
Comment #15
theprodigy commentedIn 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.
Comment #16
dallasclark commented+1
This feature would be very handy
Comment #17
alexgreyhead commented+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)
Comment #18
Anonymous (not verified) commentedMaybe 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
Comment #19
gfors commentedIf you are in dev env and dont have the "payments" option in UC Core selected you won't see the discount applied.
Comment #20
longwaveFigured out a way of doing this fairly cleanly. Committed to CVS, this feature will be available in the next release.
Comment #21
Romejoe commentedGreat, I need this functionality as well!
Got request for this by user today!
Comment #23
dotidentity commentedWith me the coupon only applies after a hard refresh to the review-pane. In which release is the option available?
Comment #24
wodenx commentedI *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.