This article covers a Bloomreach Experience Manager version 13. There's an updated version available that covers our most recent release.

Bloomreach Accelerator: B2C Commerce Tagged Content Component

This Bloomreach Experience Manager feature requires a standard or premium license. Please contact Bloomreach for more information.

Synopsis

TaggedContentComponent is a built-in delivery component which enables a tag in a content item to be used as query for a product grid, so that the a content page can be automatically enriched with products related to the content.

In the Bloomreach Accelerator: B2C Commerce Boot application, article detail pages make use of the Tagged Content Component. The first tag entered in the Tags field in an Article document is fed into the query of the product grid on the article's detail page.

Component Overview

Rendering phase

TaggedContentComponent relies on the presence of a multi-valued string property called tags being present in the current content bean. In its rendering phase, TaggedContentComponent retrieves the tags property from the content bean, extracts its first value, and stores it in the request context as an attribute named StarterStoreConstants.ATTRIBUTE_QUERY. It then relies on the Product Grid Component being present in the page configuration and using that attribute to feed its product search query and render the results.

Component Details

Below are the details of the component and the related configurations.

 Component class  com.bloomreach.commercedxp.starterstore.components.TaggedContentComponent
 Page configuration /hst:starterstoreboot/hst:configurations/starterstoreboot/hst:pages/article-detail
 Sitemap Item configuration /hst:starterstoreboot/hst:configurations/starterstoreboot/hst:workspace/hst:sitemap/articles/_any_.html

 

 

Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?