Jump to content

Pass value from page to page

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

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

About me: I'm Paul. A SQSP User for 18 yrs, I joined Circle when it launched in 2016 and have been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing expertise and 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 free. You can thank me by clicking one of the feedback emojis below. Coffee fuels my work.

Book paid help with a Squarespace Domain

Link to comment

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.