Question from a newbie
My “product page” is linked to an “enquiry page”. For example, when a product photo (eg. superman cake) is clicked, it jumps to the enquiry page which require user input etc… and finally collect into to database.
How can I know that this enquiry is about “Superman cake” among the many cakes in the album? Is that any solution that the “enquiry page” can show/display the source page & be collected in the database?
Thanks for advice.
hi Sweetie Swans,
You can pass the product type by using query parameters.
To implement that, you will have to unlink the ‘enquiry’ button and manually write the navigation code.
Use wixLocation.to to navigate while passing the enquiry parameter.
See wixLocation to here.
for example
wixLocation.to("www.cuteswans.com/enquiryPage?enquiry=superman_cake");
Then, on the ‘enquires’ page, write code to get the query parameters using wixLocation.query.