Jump to content

Code for Floating Form

Recommended Posts

Site URL: http://www.artthou.co.uk/

Hi Squarespace community,

 

I am looking to create a floating form that would appear when a user clicks on specific product (/cart) button - the form would be a lightbox like the screenshot attached.

My issue is I need the form action to email me the form info once completed, and then go back to the existing page the user is browsing.

Instead of what happens presently, which is the action adds the product to the cart and directs the user to the /cart page. 

  • I need this for specific products, not all products.
  • Ideally the form should grab the product description automatically
  • In my case the form would look like the following screenshot attached. 

Any help hugely appreciated,

Hugo

Screen Shot 2020-05-28 at 19.37.37.png

Link to comment
  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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.