Jump to content

Pass value from page to page

Go to solution Solved by paul2009,

Recommended Posts

Hi everyone!

When being on a product page and clicking the "Send Inquiry" button, one is directed to a contact formula. I wish for the product name of the product the user was looking at, to be inserted into the 'subject'-field of the contact formula automatically. But I can't seem to figure out how to pass the product name from the product page to the contact formula.

Any tips is much appreciated!

Link to comment
  • Solution

I see you've added a link to each product detail page that links to a contact page. If you are happy to individually edit each link on each PDP then you'll be able to add a query parameter that passes a hidden form field to the form. This will allow you to include this information. I've liked to the support article that describes how to set this up.

If you'd prefer a prebuilt solution that automatically includes the product title and URL being viewed at the time, please take a look the Product Enquiry Form extension

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.