# Buy Now button

<div data-full-width="true"><figure><img src="/files/dHaPBf9wiTvRsPXBrcnP" alt=""><figcaption><p><a href="https://foxecom.com/pages/affiliate?utm_source=foxecom&#x26;utm_medium=help_center_foxify_buy_now_button&#x26;utm_campaign=anchor-text&#x26;utm_term=explore_foxecom_affiliate_program_perks_now">Explore FoxEcom Affiliate program perks now</a> <span data-gb-custom-inline data-tag="emoji" data-code="2728">✨</span></p></figcaption></figure></div>

The Buy Now button helps you create shortcuts for customers to buy your products. It can show off product pictures, descriptions, and prices, all while letting customers purchase products without leaving the website.

In the Foxiy, you can add a **Buy Now button** in specific sections and place it on any page, not restricted to only the Product page. This enhancement aims to improve the overall customer experience and speed up the sales cycle.

<figure><img src="/files/6V6rI2Ll2Aa6tIDcYYjv" alt=""><figcaption></figcaption></figure>

Choose the pre-defined style for the **Buy Now button** in the **Global style** field, with 4 default preset buttons:

* Primary button
* Outline button
* White button
* Link button

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

Select the product you want for the **Buy Now button.**&#x20;

* You can choose/ search for a specific product variant by typing in the **Variant** field.

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

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

Add the suitable text into the **Button label** field, select an attractive **Icon**, and change the **Icon size** to draw the customer's attention.

Moreover, you can swap the position between the **Icon** and **Button label** by changing the **Icon position** to the **Before label** or **After label**.

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

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

Insert the pre-selected number of quantities to purchase when customers click the **Buy now button** in the **Quantity** field.

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

Input the suitable discount to apply at checkout in the **Discount code** field.

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

You can decide which page you want to direct customers to (Cart page or Checkout page).&#x20;

By enabling the **Direct to Cart page** toggle, you can immediately direct shoppers to the Cart page instead of the checkout page.

<figure><img src="/files/S7syX5L6kBJAGK8rDBW2" 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://docs.foxecom.com/foxify-app/legacy-editor/sections-and-presets/buy-now-button.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.
