> For the complete documentation index, see [llms.txt](https://docs.fact-finder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fact-finder.com/webcomponents-overview/api/more-features/shopping-cart-campaign.md).

# Shopping Cart Campaign

\`ff-campaign-shopping-cart\` triggers campaigns for products in a shopping cart. Pair it with campaign display components to show returned content.

## Documentation

With the `ff-campaign-shopping-cart` element, you can invoke shopping cart campaigns for a given set of product IDs.

This element is only a trigger without a visual component. Use [ff-campaign-feedbacktext](/webcomponents-overview/api/more-features/campaign.md) and [ff-campaign-pushed-products](/webcomponents-overview/api/more-features/pushed-products.md) with their `is-shopping-cart-campaign` attribute for visualization.

```html
<ff-campaign-shopping-cart product-id="prod-1,prod-2,prod-3"></ff-campaign-shopping-cart>

<ff-campaign-feedbacktext is-shopping-cart-campaign label="above-shopping-cart">
    {{{text}}}
</ff-campaign-feedbacktext>

<ff-campaign-pushed-products is-shopping-cart-campaign>
    <ff-record-list subscribe="false">
        <template data-role="record">
            <ff-record>...</ff-record>
        </template>
    </ff-record-list>
</ff-campaign-pushed-products>
```

## API

### `ff-campaign-shopping-cart`

#### Properties

| Name                                     | Description                                                                 |
| ---------------------------------------- | --------------------------------------------------------------------------- |
| **product-id** (String) (default: empty) | A comma-separated list of product numbers for which to retrieve a campaign. |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fact-finder.com/webcomponents-overview/api/more-features/shopping-cart-campaign.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
