# Sticky add to cart bar

{% tabs %}
{% tab title="Desktop" %}

<figure><img src="/files/yjRFzHxN8bqztlERLiAI" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Mobile" %}

<figure><img src="/files/33jLqetNV76svn5TJ0Kr" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

The **Sticky add to cart bar** section ensures that your customers can quickly add products to their cart while browsing through a product page without needing to scroll back up. It provides a persistent, visible call-to-action, improving user experience and increasing conversions.

In this article, we will show you how to set up the Sticky add to cart bar section.

{% hint style="info" %}
This feature is available on :sparkles: Sleek version **1.4.0** and above :sparkles:

See [Changelog](/sleek-theme/changelog.md).
{% endhint %}

## How to access the Sticky add to cart bar section on your Product page

{% hint style="success" %}
**Steps**:

1. In the theme editor **(Customize)**, click **Sticky add to cart bar**.
2. Edit the settings.
3. **Save** the settings.
   {% endhint %}

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

## How to edit the Sticky add to cart bar section

Upon selecting the **Sticky add to cart Bbar** section, a range of customization options will be available:

### **Container:**

* **Fixed Width**: The bar will maintain a set width, ensuring consistency across all product pages. To adjust the fixed width of your store, go to **Theme settings** > [Layout](/sleek-theme/theme-settings/layout.md).
* **Full Width**: The bar will stretch across the entire screen width for better visibility and ease of use, especially on larger screens.

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

### **Visibility:**

* **Show on all devices**: Display the sticky add to cart bar on both mobile and desktop versions of the store.
* **Show on desktop only**: Ensure the sticky bar is only shown to desktop users.
* **Show on mobile only**: Ensure the sticky bar is only shown to mobile users.
* **Hide**: Temporarily disable the sticky add to cart bar.

<figure><img src="/files/7Skqb01HoFvUuEYIMh5H" alt=""><figcaption></figcaption></figure>

* **Show add to cart button:** Checking this option will display the "Add To Cart" button, allowing users to instantly add the current product to their cart from anywhere on the page.

<figure><img src="/files/7wx0x27du7P1DCwFcS3x" alt=""><figcaption></figcaption></figure>

* **Show dynamic checkout buttons:** This option lets you show dynamic checkout options within the sticky bar. This option is only available on desktop devices.

Learn more about [Dynamic checkout buttons here](https://help.shopify.com/en/manual/online-store/dynamic-checkout).&#x20;

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

* **Show quantity selector:** Displays a quantity selector in the sticky bar so customers can quickly adjust the number of products they want to add to the cart. This option is only available on desktop devices.

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

<figure><img src="/files/21xiA2v4lZtXCCtluM8l" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note:**

* The **Sticky add to cart bar** section is **only displayed on** **product pages** **when the main Add to cart button is not in the viewport**, making it context-specific and preventing clutter on other types of pages like collections or home pages.
* It ensures customers have a quick way to purchase without needing to scroll back to the [Product information](/sleek-theme/collections-and-products/product-page/product-information.md) section.
  {% endhint %}

<figure><img src="/files/vh4MElTuwzy6TYDBjnrd" alt=""><figcaption><p><a href="https://foxecom.com/products/foxify-shopify-app?utm_source=HelpCenter&#x26;utm_medium=banner&#x26;utm_campaign=customer+success">Try Foxify free now</a></p></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://docs.foxecom.com/sleek-theme/collections-and-products/product-page/sticky-add-to-cart-bar.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.
