Answered by:
how to add coupon code on 1 page checkout website

Question
-
User-483528683 posted
hi guys
help me out.
how should i implement of coupon code on website .
here is website
https://optifogstation.com/order.aspx
it is only 1 page checkout .
Monday, October 1, 2012 10:55 AM
Answers
-
User1958125286 posted
You can put the entire page too.. Just not the Last Button
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, October 4, 2012 11:42 AM
All replies
-
User1958125286 posted
You get this functioanlity by just adding one more textbox and button and on click of the button just deduct the amount associated with the code..
On click of submit you can just check if the textbox has any value to it and if it has text then the order total should be different from the earlier calulated else just revert the order total to the one without the discount..
You can use AJAX or JQuery to avaoid any user postbacks..
Monday, October 1, 2012 1:23 PM -
User-483528683 posted
Thanks for quick reply.
I updated my code .
I will send you link can you give me favor let me if it is correct or not?
THanks
Wednesday, October 3, 2012 12:29 PM -
User1958125286 posted
Okay... I will try as much as I can..
Wednesday, October 3, 2012 1:25 PM -
User-483528683 posted
Hi
here is my dev link
can you tell me it is correct or not.
Thanks for your help.
Thursday, October 4, 2012 10:42 AM -
User1958125286 posted
Looks good..
But you have a page Refresh Which you can avoid by using
<asp:UpdatePanel ID="upnlCouponCode" runat="server">
Put Your Coupon Code here
</asp:UpdatePanel>
Thursday, October 4, 2012 10:58 AM -
User-483528683 posted
i have to put all code of that page or just coupon code section?
Thursday, October 4, 2012 11:08 AM -
User1958125286 posted
You can put the entire page too.. Just not the Last Button
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, October 4, 2012 11:42 AM -
User-483528683 posted
Thanks for your help.
Thursday, October 4, 2012 1:08 PM