About Club osCommerce

Showcasing osCommerce…the good, the bad and the ugly!

Follow osc_pro on Twitter

Code one thing, and find a solution for another

Written By Gary on Oct 06 2008 · Comments (1) Follow osc_pro on Twitter

Over in the osCommerce forum, someone is after a "donation" contribution whereby a buyer can insert an amount to donate which will then be added to the cart total. I guessed that a competent(ish) coder should be able to get something workable within half a days worth of coding time. So I set out to make something that would work – it took all of 30 minutes.

Anyway, that's by the by – the point of this blog post is that whilst I was coding this up I struck on an idea of how to remove discount coupon after it's been applied – which is something that a lot of people have been asking for…

Have a look at this video

Hopefully it'll show the "remove coupon" link next to the details of the live coupon, which, when clicked will remove the coupon entirely…

I'll add this into the code for Version 3 of the coupon discount system.


Buy Gary A Beer?
Buying me a "beer" helps me to keep my contributions updated and keep this blog alive - and you get a link from my homepage to your site. Cheers!


1 Comment

  1. More genius!

    Comment by Heather — October 8, 2008 @ 4:44 am


Leave a comment

RSS feed for comments on this post · TrackBack URL

Hot 100 osCommerce Shops

View the osCommerce HOT 100These are the best looking, most exceptional osCommerce Stores as voted for by you.

New to osCommerce - get inspiration from these beautiful shops. Reckon your site has what it takes to become a member of the HOT 100? Submit it!