Coupon Codes No message if Coupon Codes are inactive or expired
Posted 05 June 2011 - 01:06 AM
It seems that inactive/old discount codes can be inputted on the cart page without any expired/inactive message being displayed to the user. The reason this is a big problem is that customers can proceed with the order thinking the coupon was successfully accepted, even though it could have expired.
In my case I have setup a discount with a coupon code. The discount has since expired - but my cart page still happily accepts the coupon code (but doesn't apply the discount). Surely it should in fact display a message box saying the discount code is no loner active, or some such message. Note that I have also tried simply making the discount inactive and also reduced the number of usages down to zero, but the same behavior still occurs.
Posted 05 June 2011 - 01:19 AM
Posted 13 July 2012 - 07:52 AM
It's applying the code, but it applies it to the first line item in the cart. I'd like to have something come under subtotal that shows a discount there, rather than taking it off the first line item. Can you tell me how to go about doing that?
Posted 13 July 2012 - 10:05 AM
You can add an onSuccess function to the button:
...you could also render a total discount value only if applicable:
<? if ($discount): ?> <h1>Total Discount</h1> <p> - <?= format_currency($discount) ?></p> <? endif ?>
...the discount column is generally needed for "per item" discounts, they might be different values per item. So i think the discount column works this way regardless of whether it really is just meant to be for the sub-total or not.
...don't know another way around for that unfortunatley, it might well have to do with the discount engine way of doing things to cover many variables.
...other than hiding the column, but then you might need it for other variable discounts down the road.
Posted 16 July 2012 - 02:07 PM
You could edit your cart to only display the total discount (as Andrew suggested) and hide the discounted prices of the individual items (just display the full product price), but then you wouldn't be able to show the individual products' discounted prices.
Posted 30 July 2012 - 02:10 PM
...there maybe others, so it will be a process of elimination.
...you might have to go through your scripts to determine which are needed and which ones aren't, so we need to keep those clean.
...it looks like you may have jquery scripts running that aren't being used across the site...or they are conflicting with other scripts.