# Cart

### Cart type

Here you can pick if you want the cart to be shown as a cart drawer or as a separate page. If you pick `Drawer` when a product is added to the cart the page won't refresh. If it's set to `Page` once a product is added to the cart the user will be redirected to the cart page.

### Styles

Here you can define the style you want to use for both the drawer and the cart page. For more details on the styles see [here](/marble-documentation/global-settings/color-styles.md).

### Shipping bar

The settings listed below are for this section in the cart and the cart drawer:

<figure><img src="/files/Z6BuXBGEjV2jDBcoSCJo" alt=""><figcaption></figcaption></figure>

**Enable** - through this checkbox you can enable or disable the functionality.

**Threshold** - here you have to pick the amount needed for your shipping offer.

**Progress text** - the text shown when the threshold **is not reached**. Use `[amount]` to dynamically show the remaining amount.

**Success text** - this is the text that will be shown once the threshold is reached by the user.

**Empty text** - here you can define the shipping offer like "Spend $200 USD and get free shipping!".

### Upsell products

<figure><img src="/files/G0kGhzVba7jKjmnxsjV7" alt=""><figcaption></figcaption></figure>

The options here are:

**Enable** - to enable/disable this feature.

**Title, when cart has items** - used there are products in the cart.

**Title, when cart is empty** - used when there are **no** products in the cart.

**Products, when cart has items** - option where you can manually pick which products to be shown in the cart. NOTE: if the recommendations API is enabled it will automatically overwrite the products.

**Products, when cart is empty** - option to choose the products that are shown when the cart is empty.

**Use recommendations API** - products are displayed based on the Shopify Recommendations API and Search & Discovery app. Read more [here](https://help.shopify.com/en//manual/online-store/search-and-discovery/product-recommendations).

### Cart page additional settings

**Show additional checkout buttons** - turn on/off the additional checkout buttons.&#x20;

**Show terms** - shows checkbox to accept terms and conditions, before proceed to checkout.

**Show payment icons** - will show/hide the payment icons on the cart page.

**Enable order message** - will show/hide the cart page order note.

**Wrap product** - show checkbox for order wrapping option. Requires a non-sold out product, with only default variant (no product options). If there are multiple product variants, the first available variant will be added. The product should NOT be marked as physical product and should NOT have inventory tracking enabled.

<br>

<figure><img src="/files/FcOG2SHqkZiGUNskqpa1" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bigstart.gitbook.io/marble-documentation/global-settings/cart.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
