> ## Documentation Index
> Fetch the complete documentation index at: https://docs.frenzy.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Swiper in Recommendation Carousels

> Use the new product cards and the image swiper in Frenzy recommendation carousels.

Frenzy recommendation carousels show a row of product cards on the home page, product page, cart page and cart drawer. Shoppers move between the cards with arrows, dots or by swiping.

* With `window.useNewProductCards = true`, the carousel uses the new product cards and the configuration displayed here. Without it, it uses the old HTML cards and the swiper functionality requires a swiper library integration and different settings configuration.
* The [Image Swiper](https://docs.frenzy.ai/shopify-app/configuring-product-card/image-swiper.md) inside the carousel cards needs `swiperOptions.enableInCarousels`.

## Example: image swiper inside the carousel cards

```js assets/frenzy-callback-function.js theme={null}
window.productCardOptions = {
  type: 'swiper',
  swiperOptions: {
    enableInCarousels: true
  }
};
```

To change the image swiper only in the cart drawer, use the `cart` options of the [Image Swiper](https://docs.frenzy.ai/shopify-app/configuring-product-card/image-swiper.md#options).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.