For the complete documentation index, see llms.txt. This page is also available as Markdown.

Pushed Products

`ff-campaign-pushed-products` displays products returned by applicable campaigns. Nest an `ff-record-list` to control the product presentation.

Documentation

Pushed products can be displayed by placing an ff-record-list inside an ff-campaign-pushed-products element.

The ff-campaign-pushed-products element scans search results for applicable campaigns and populates the nested ff-record-list.

For more information on how to customize the product visualization, refer to ff-record-list.

<ff-campaign-pushed-products>
    <!-- Optional additional HTML. -->
    <span class="productCampaignCaption">Product Campaign</span>

    <!-- Set `subscribe` to false as this record list will not be listening to search requests directly. -->
    <ff-record-list subscribe="false">
        <template data-role="record">
            <ff-record>
                <img data-image="{{variantValues.0.ImageName}}">
                <div>
                    <a href="https://www.your.shop/{{variantValues.0.Deeplink}}">
                        {{variantValues.0.Title}}
                    </a>
                    <div>Price: <strong>{{$ variantValues.0.Price}}</strong></div>
                </div>
            </ff-record>
        </template>
    </ff-record-list>
</ff-campaign-pushed-products>

Display results from stand-alone campaign triggers

By default, ff-campaign-pushed-products only displays campaigns that are part of a search result.

However, you can trigger campaigns independently of searches. These are landing page, product, and shopping cart campaigns.

To display these campaigns, add the corresponding attribute. The element will then respond only to the specified trigger and no longer react to search results.

Attribute
Triggered by element

is-landing-page-campaign

ff-campaign-landing-page

is-product-campaign

ff-campaign-product

is-shopping-cart-campaign

ff-campaign-shopping-cart

API

ff-campaign-pushed-products

Properties

Name
Description

name (String) (default: empty)

Binds the campaign to a campaign name defined in the FactFinder UI.

is-landing-page-campaign (Boolean)

Displays only landing-page campaigns from Landing Page Campaign.

is-product-campaign (Boolean)

Displays only product campaigns from Product Campaign.

is-shopping-cart-campaign (Boolean)

Displays only shopping-cart campaigns from Shopping Cart Campaign.

Last updated

Was this helpful?