# Add all to cart

{% hint style="danger" %}
This is a technical article for **some of our legacy products**. Ask us first in case of issues adding products to the cart. In any case, we recommend a developer follow the article.
{% endhint %}

If you want to add an *Add all to cart* button to your end slide, please follow first the article [*Add to cart*](https://help.pickzen.com/integrations/your-website/add-to-cart). Once done, edit your Assistant, click on General Settings <img src="/files/-MFkNKuH2q4FaYd9Z0Bv" alt="" data-size="line"> , select the Developers tab, then End slide, and finally Call to action:

![](/files/-Ls7gy7ETg5aHNssh8WF)

You now have to insert the following code in the *JavaScript code for add-all-to-cart button* section:

```javascript
//call:pzAddAllToCart
```

Resulting in something like:

![](/files/-Ls7oJ_j6PUJqA_AN4tD)

Once done, a customizable text link will appear in your end slide to add all products to the cart:

![](/files/-Ls7odwHZ820--T69EMr)


---

# 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://help.pickzen.com/integrations/your-website/add-all-to-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.
