Solved

How to create a snapshot for product tile add to cart button (form) Shopify

  • 21 November 2023
  • 1 reply
  • 39 views

Looking for some help on how to collect a snapshot for product name when a use clicks the add to cart button on a product tile. The add to cart button is technically a form submit.

In yellow is the css selector for the tracking of the click “.hh-product-form.block”. In orange is what I am trying to pull in as a snapshot.

 

I also tried using the element selector to grab the product name in the tile, but that doesn’t seem to work either.

 

icon

Best answer by Christy H 30 November 2023, 01:38

View original

1 reply

Userlevel 4
Badge +3

Hi @pdimartinis ,

Can you share more about what isn’t working? In the second screenshot that you shared it looks as if the snapshot is working correctly (Grabbing Big horse show as the preview value).

In the meantime, there are some very helpful tips about setting up a similar Snapshot in this similar thread that might be helpful.

Once we have more details we’ll be happy to provide enhanced support :) 

Reply