# 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="https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTaL6FQB3RzlkCwQfN%2F-MFkMT2bEdKJmjx8OTwB%2F-MFkNKuH2q4FaYd9Z0Bv%2Fimage.png?alt=media&#x26;token=60f15afc-6175-4362-9747-938d1e54cea7" alt="" data-size="line"> , select the Developers tab, then End slide, and finally Call to action:

![](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTaL6FQB3RzlkCwQfN%2F-Ls7adMViVa_YWH1_OTo%2F-Ls7gy7ETg5aHNssh8WF%2Fimage.png?alt=media\&token=a080652e-425f-4aa9-8862-c9d56badfb24)

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:

![](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTaL6FQB3RzlkCwQfN%2F-Ls7n6DLqfqg3_jZ9ALW%2F-Ls7oJ_j6PUJqA_AN4tD%2Fimage.png?alt=media\&token=946ff9dd-11e8-4ff2-a466-9cfd14a56c31)

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

![](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTaL6FQB3RzlkCwQfN%2F-Ls7n6DLqfqg3_jZ9ALW%2F-Ls7odwHZ820--T69EMr%2Fimage.png?alt=media\&token=837ca6af-bd88-46d0-a9a1-6800dc5f24c1)
