private for geniusanywhere
We need a simple form in OsCommerce site with data checking
We have an existing OsCommerce (live) and we a extra landings page.
Together with a business partner we will run coupon action.
Here is how it works:
We will fill database table with coupon numbers.
The client will receive an email with a coupon number and a control code. He pays the product at our business partner. In this email our landings page is listed. The client clicks on that link. Now he comes to our site. He fills in the coupon number and control code. Now he has to pay for the shipment costs only. After completion we ship the product to the client.
We need a landings page within our current template
(header column left, main-area, column right and footer.)
In the main-area start with an introduction paragraph.
below this intro we start the form where the user can fill in the coupon number. When the user “Leaves” this field 2 (event triggered) checks must be done. 1) is this coupon number in the database table? 2) And is the control code field in the table still empty?
In case of error notify user with following message:
1) The coupon number is not OK, Retype this number.
2) This coupon is already used!!
When the user hits the submit button the control code is stored into the table. Also a timestamp and the IP address are stored at that moment. Now the client must be redirected to the check out process.
The text on the submit button must be: “Bevestigen”
Job must be done before Friday (ASAP)
FTP login data will be given after project agreement