-
CDICORPAsked on February 12, 2015 at 10:27 AM
I am trying to figure out a way I can include a jotform in my shopping cart that would allow my customers the ability to add the files associated with their order.
We use Netsuite as our website engine.
I know I can just add the embed code into my shopping cart page, but I'm trying to figure out a way the files can be associated with the order without the customer having to re-enter a bunch of contact information again.
Is there any way I can pull in the PO# or customer name into the jotform so when they upload the files I know which order the files are for?
Attached is the from we use now which shows up after they checkout.
-
CharlieReplied on February 12, 2015 at 1:37 PM
Hi,
I see that you already have a full system designed for a shopping cart. For the form, I believe you could just try passing values to the form via URL parameters.
Here are the possible guides that you can refer to:
From your list of products, you can then just pass the information from the product variable directly to the form's URL, so when do they a checkout the information is already prefilled:
http://www.jotform.com/help/71-Prepopulating-fields-to-your-JotForm-via-URL-parameters
If your website is built with PHP and Javascript, you can follow the guides below to pass information directly to your form:
http://www.jotform.com/help/237-PHP-Forms-Explained
http://www.jotform.com/help/213-Send-POST-Data-From-JotForm-Using-PHP-in-Custom-Thank-You-Page
http://www.jotform.com/help/245-How-to-Setup-Webhook-with-JotForm
You could also try checking this guide: http://www.jotform.com/help/126-How-to-send-Submissions-to-Your-MySQL-Database-Using-PHP. It's a guide on how to pass the values directly to your MySQL database, I believe if you are uploading files this would be helpful and would be easy to append additional values or characters to the file name to give distinctions like PO# or Unique IDs.
I hope that helps.
Thank you.