> For the complete documentation index, see [llms.txt](https://docs.ultramarinastudios.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ultramarinastudios.com/blocks/mini-product.md).

# Mini product

<figure><img src="https://3146423938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZQuVfmt0J7tzTvfBqG6C%2Fuploads%2Frj628BtdIcFC8xlbLfoe%2FPrimavera%20Artistry%20%C2%B7%20Customize%20Primavera-1-0-0%20-%20Blocks%20everywhere%20%C2%B7%20Shopify%202025-04-01%20at%202.36.51%20pm.jpg?alt=media&amp;token=1b53624a-0399-4a32-96da-ee950b9c96aa" alt="A mini product features in a shoppable banner block in the split card section."><figcaption><p>A mini product features in a shoppable banner block in the split card section</p></figcaption></figure>

The mini product block showcases a specific product and, depending on the selected style, either allows the customer to navigate to the product page or add it to cart.&#x20;

Because this block appears in many different sections and blocks, much of the styling can be adjusted in [**Theme settings > Mini product**](https://docs.ultramarinastudios.com/theme-settings/mini-product.md).

### Block settings

In the block itself, there are three settings:

* **Product**: Connect a product
* **Style**: Choose between **card** or **list:**

| Option 1: Card style                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | Option 2: List style                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><img src="https://3146423938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZQuVfmt0J7tzTvfBqG6C%2Fuploads%2FxYpTq0Ty48oRTJUVDYSh%2FPrimavera%20Precision%20%C2%B7%20Customize%20primavera-1-0-0%20%5BTHEME%20BLOCKS%5D%20%C2%B7%20Shopify%202025-04-01%20at%202.54.09%20pm.jpg?alt=media&amp;token=c4c30150-2518-4a62-baa3-adab125df70e" alt="" data-size="original"><br></p><ul><li>The product is added to cart on click, unless it has variants in which case the quick add popup opens.</li><li>You can also customize the color scheme to make it stand out from the rest of the page.</li></ul> | <p><img src="https://3146423938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZQuVfmt0J7tzTvfBqG6C%2Fuploads%2FyhQYg6O7NeJqC4VW0LOP%2FPrimavera%20Precision%20%C2%B7%20Customize%20primavera-1-0-0%20%5BTHEME%20BLOCKS%5D%20%C2%B7%20Shopify%202025-04-01%20at%202.52.54%20pm.jpg?alt=media&amp;token=0fc89aa8-4dd6-47d5-8b01-2c80431ebed7" alt="" data-size="original"><br></p><ul><li>The mini product simply links to the product</li><li>The mini product takes on the parent element's color scheme</li></ul> |

* **Color scheme**: Only applies when card style is selected, else the list style takes on the parent elements color scheme

### Styling ideas:

<figure><img src="https://3146423938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZQuVfmt0J7tzTvfBqG6C%2Fuploads%2FThH8rUulFtlxHgIPu1If%2FPrimavera%20Gloss%20%C2%B7%20Customize%20primavera-1-0-0%20%5BTHEME%20BLOCKS%5D%20%C2%B7%20Shopify%202025-04-01%20at%202.34.55%20pm.jpg?alt=media&amp;token=fa5a171b-b056-447c-bb0c-d149dba144f8" alt=""><figcaption><p>Here, a mini product is placed in the second column of Rich columns, allowing customers to quickly add the product that's being discussed to their cart</p></figcaption></figure>


---

# 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.ultramarinastudios.com/blocks/mini-product.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.
