Productcarouselv1

The Product Carousel component is a server-side component written in HTL, allowing to display a list of featured products in a carousel style. The products are retrieved from Magento via GraphQL. This component can be used on any experience page.

Note: due to the limited amount of sample data available, the links to product pages will always display the same demo product.

Examples

Sample products

Product carousel displaying products for the provided SKUs.

  1. jcr:title: Summer promotions!
  2. product: 24-MB02,WJ04#WJ04-XS-Orange,MH01,MH01#MH01-XS-Orange
  3. sling:resourceType: cif-components-examples/components/productcarousel

Category products

Product carousel displaying products of the provided category.

  1. jcr:title: Sports selection
  2. category: uid-3
  3. productCount: 3
  4. selectionType: category
  5. sling:resourceType: cif-components-examples/components/productcarousel

Add to Cart and Add to Wish List button

Product carousel with Add to Cart button and Add to Wish List button.

  1. enableAddToWishList: true
  2. jcr:title: Sports selection
  3. category: uid-3
  4. productCount: 3
  5. selectionType: category
  6. sling:resourceType: cif-components-examples/components/productcarousel
  7. enableAddToCart: true