Hi All,

I think this would be a fairly straightforward, but I'd like your input on how to best develop this feature.

I would like to pass a variable from a clicked link into the the Discount Redemption Code field on checkout_payment.

For example:
o User clicks a link such as following
http://www.mywebsite.com/index.php?discount=BIGSALE
o User randomly shops site, adds products to cart, proceeds to Checkout
o At Checkout Payment, BIGSALE is automatically populated into Discount Redemption field
o User automatically receives BIGSALE discount upon final purchase

Conversely:
o User who does not enter site with BIGSALE variable in link will not get BIGSALE discount (unless they manually enter it at Checkout Payment)

Simple, eh?

Any ideas on how to do this and what files I might poke into?

Thanks in advance,