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
  • Views 870
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.