# Loop add to cart

**“Loop add to cart”** is an element created for the WooCommerce product archive page. The main purpose of this element was to be used in a repeater loop. This will display an add to cart button for each repeated product.

<mark style="color:purple;">Important Note! This element works only inside a repeater (preferably where the repeater consumer is enabled)</mark>

<figure><img src="https://2798932742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKBGfOeYOvP45qYmu7SWy%2Fuploads%2FgwcmTBw0VnEtWVf0UfBI%2Fimage.png?alt=media&#x26;token=13372161-8b4b-418c-aca8-3e495e611bf0" alt=""><figcaption></figcaption></figure>

Here is how you can use the Loop add to cart element

{% embed url="<https://www.youtube.com/watch?t=570s&v=iybKyPKS8cA>" %}
