X-cart – Coupon Code From Url
Need done by Monday. Write code so we can pass and process a Coupon Code through a URL.
See site: www.angelgifts.com
Right now, if I go to this url, it will add a coupon code:
https://angelgifts.com/cart.php?coupon=buy3get1&mode=add_coupon
I would like it so I can pass something like this: http://www.angelgifts.com/something.php?coupon=buy3get1&mode=add_coupon
and have it add the code to the session, then redirect the customer to home.php with the coupon code added.
That’s it. Winner will be provided instant access to our test instance so they can code it straight into our development site. Let me know what PHP files you changed and we will update the main site.
Running x-cart 4.1.12
Happy bidding!



