Commerce Content Fragmentv1

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

  • the SKU of the product currently being displayed on the product page
  • the product SKU provided in each content fragment
  • the content fragment model provided for the component

To demonstrate the use of this component, a Commerce Content 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 Content Fragment component is not rendered when the product SKU does not match (on the other demo product pages).