Commerce Experience Fragmentv1

The Commerce Experience Fragment component is a server-side component written in HTL, allowing to dynamically display an experience fragment based on:

  • the SKU of the product currently being displayed on the product page
  • the product SKU defined in each experience fragment
  • the target location defined in each experience fragment

The location matching is based on a specific property defined on the one hand in the experience fragment content, and on the other hand in the Commerce Experience Fragment component(s) defined on the product page.

To demonstrate the use of this component, a Commerce Experience Fragment component is defined at the bottom of the demo product page, and is configured to be only rendered for the "Chaz Kangeroo Hoodie" product, that is when the SKU matches "MH01". Note that this Commerce Experience Fragment component is not rendered when the product SKU does not match (on the other demo product pages).