This document details a 2020 December promotion page for a specific product, integrating existing website functionality with a new form submission process. The implementation uses JavaScript, ASP, and SQL to handle form data, email notifications, and database updates, ensuring seamless integration with the existing system. The process involved aligning form field names, modifying existing email handling procedures, and creating a custom page flow for this specific promotion.
This is a page about a specific product promotion that took place in December 2020.
http://www.krinfra.co.kr/a100/
Requirements:
First, the name was adjusted to convey the information in the FORM to the existing Javascript, ASP, SQL, etc.
I looked into the functions that were handled after receiving inquiries from the existing official website.
It consisted of:
So I
I did it.
First, we added the following information to the main page.
<%
Dim arrProDuctNivia(1)
arrProDuctNivia(0) = "NVIDIA"
arrProDuctNivia(1) = "A100"
%>
...
...
...
...
...
The following content has been added to Javascript.
function A100_send(obj){
}
Contents of xxxxx4.asp that receives action from Javascript
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%
...
...
...
'Email sender
Set RsMail = DBcon.Execute(SQL_M)
...
...
...
ELSEIF ProductMajorName = "NVIDIA_A100" Then 'NVIDIA Test!!!!!!!!!!!!!!!!!!!!
...
pagego="purchase.asp?product="&ProductMajorName&""
If ProductMajorName = "NVIDIA_A100" Then
pagego="/a100"
End if
%>
Get information from FORM
Organize the retrieved information to be included in an email using SQL.
Adjust the email receiving and sending addresses according to the current ProductmajorName.
Since the product exists on a different page from the product inquiry on the official website, the next page after receiving the inquiry will be different.
After submission, the page will be moved.
I tested it once.
I entered the information into the form and ‘submitted’.
I received an ALERT indicating completion.
I received your email!
Information has been received in Groupware's 'Sales Support/Product Purchase Inquiry'!
Impressions and Reviews: