# Why is the wrong product variant added to the cart?

### Prerequisites <mark style="color:red;">\*</mark>

**Make sure your theme's default variant picker is visible.**

Our app depends on your theme’s built-in variant picker to function correctly. To ensure everything works as expected, the **default variant picker must be displayed** on the product page.

If both the app’s swatches and the theme’s default variant picker are showing at the same time, don’t worry — just contact us, and we’ll help you hide the extra one.

Want to hide the default picker *before* our app loads? Let us know — we can help set that up.

For a smoother experience, we can also show a temporary loading state (skeleton picker) while the app is initializing.

## ✅ <mark style="color:green;">**Do**</mark>

<figure><img src="/files/TZlNKaxQUOQCkdM5rsxW" alt=""><figcaption><p>Enable both variant picker theme and app</p></figcaption></figure>

***

## ❌ <mark style="color:red;">**Do not**</mark>

<figure><img src="/files/rKRLzk6f9Yc4pwWbM8JW" alt=""><figcaption><p>Don't disable variant picker theme default</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.globo.io/faqs/why-is-the-wrong-product-variant-added-to-the-cart.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
