# Advanced form selector

> Set a custom form selector when Icona cannot find your theme’s add-to-cart form.

Source: https://docs.tryicona.com/virtual-try-on/customize/advanced-form-selector/  
App: Icona: AI Virtual Try On  
Last updated: 2026-09-07

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

## When you need it

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.

## How to find your form selector

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"]`.

> **Tip**
>
> This field is also available in the Icona Virtual Try On block in Shopify’s theme editor.

## Verify conversions after changing it

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](https://docs.tryicona.com/virtual-try-on/customize/theme-editor-vs-customize/) to understand how settings from both places work together.
