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

# Buy buttons

The **Buy buttons block** displays the **"Add to cart"** button to allow customers can add the product directly to their cart and an optional **Dynamic checkout** button lets customers quickly buy the product they're viewing with a "Buy it now" button that skips directly to the cart or a branded button with the customer's preferred payment method. If **Local pickup** is enabled in the Shopify admin, and block added, the a **local pickup banner** will appear automatically below the buy buttons.

<figure><img src="/files/3fFrShO0DfaSGtGUDOSS" alt=""><figcaption></figcaption></figure>

### Settings:

**1. Quantity selector**

* **Show quantity selector:** If checked, a **quantity selector** appears next to or above the "Add to Cart" button.
* **Quantity type:**

{% tabs %}
{% tab title="Inline" %}
Appears on the same line as the "Add to Cart" button.
{% endtab %}

{% tab title="Separate" %}
Appears above the "Add to Cart" button.
{% endtab %}
{% endtabs %}

**2. Dynamic checkout**

* **Show dynamic checkout buttons:** If checked, displays a **dynamic checkout button** showing the customer's preferred payment option (e.g., PayPal, Apple Pay).

**3. Out of stock notification**

* **Enable “Notify Me” when product is out of stock:** If checked, replaces the "Sold Out" button with **“Notify me when back in stock!”.** Customers can enter their email to subscribe for restock alerts.

**4. Gift Card:**

* **Show recipient information form for gift cards:** If checked, displays a **recipient information form** on the Gift Card product page.

**5. Add to Cart button:**

* **Show cart total:** If enabled, the current cart value is shown next to the Add to Cart button to provide instant feedback on purchase totals.
* **Button style:** Defines the button's visual style: Solid or Outline.


---

# 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 dynamically by asking a question.

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

```
GET https://help.byinspiredlabs.com/product-page/product-information/buy-buttons.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
