The Style by Zhanna Brand Landing Page
demonstrates how to implement a special landing page for a particular brand. It includes a media banner, results list, and refinement menu that is specific to the Style by Zhanna brand.
The Style by Zhanna Brand Landing Page
is triggered when both of the following conditions are met:
The customer chooses the Style by Zhanna refinement from the Brand dimension or searches for the term “Style by Zhanna”.
The query includes the
NoPriceRange
user segment.
Commerce Reference Store adds the NoPriceRange
user segment to the current query when the query does not include any price range filtering. To understand the purpose of the NoPriceRange
user segment, we must first consider that the Style by Zhanna Brand Landing Page
is intended to be shown when only the Style by Zhanna dimension value is selected or the search term “Style by Zhanna” is entered. The existence of any other dimension values, search terms, or the Price range filter should disqualify a query as a match for this page. To satisfy this requirement, the “At this exact location” option is used when specifying the triggers for the page, as shown in this illustration that displays the configuration for the Style by Zhanna dimension value trigger (note that a similar configuration is specified for the Style by Zhanna search term trigger):

The “At this exact location” setting is dimension value aware; in other words, when this option is set, a query must match the “At this exact location” trigger exactly, with no other dimension values specified, in order for the page to be triggered. For example, a query for [search terms] = Style by Zhanna is a match but a query for [search terms] = Style by Zhanna and Color = Red is not.
The “At this exact location” setting is not, however, range filter aware. Because the Price slider is implemented as a range filter, this means that Experience Manager would consider a query such as [search terms] = Style by Zhanna and Price = $15 to $25 to be a match. Since that is not the intention of the page, Commerce Reference Store implements some additional logic to prevent erroneous matching when the Price Range filter is included in the query. This additional logic allows Commerce Reference Store to detect if a query has a price range associated with it. If no price range exists, Commerce Reference Store adds the NoPriceRange
user segment to the query. To circle back to our initial discussion of the Style by Zhanna Brand Landing Page
conditions, this user segment must exist in the query in order for it to trigger the Style by Zhanna Brand Landing Page
.
For details on how Commerce Reference Store determines if the NoPriceRange
user segment should be appended to the query, see Adding the NoPriceRange User Segment. For details on the individual cartridges that make up the Style by Zhanna Brand Landing Page
, see Commerce Reference Store Cartridge Hierarchy.