Gift Card Help Needed
I am trying to set up a gift card page and need some help.
I want the gift card to be such that a customer can enter any amount they wish to enter along with a to and from and message boxes.
The problem I am having is this.
1. The gift card has to be automatically entered into its own table in my database.
2. The gift card along with the selected price needs to be added to the shopping cart.
3. A random code needs to be given. Security Assist will sort that one.
What I want to find out is how to let the gift card be added to the database as well as to the shopping cart without having pre entered fixed amounts or rather gift cards in the table beforehand.
Everything has to happen on the fly so to speak.
An example of what I am looking to do can be found here (customize_gc_product.jsp?productId=751283&type=product&categoryId=106042680&WTz_l=Header%3Bcat106042680)
I hope that you can help me with this problem even if it is just step by step. Main problem is to get the gift card to be added to the database table and the shopping cart at the same time.