Skip to content

The Add to cart form selector is an Advanced setting. Most stores can leave it blank.

Icona normally finds your theme’s product form automatically. It uses this form to add products to the cart and track sales from the try-on popup.

Set a custom CSS selector only if Icona cannot find the form or sales attribution is not working.

Open a product page and use your browser’s inspector to find the <form> element that handles add-to-cart requests. Copy a CSS selector for that element into the setting.

A common selector looks like form[action="/cart/add"].

After saving the selector, complete a test try-on and add the product to your cart. Then confirm that the order appears in your conversion tracking.

See Theme editor vs. Customize to understand how settings from both places work together.