> For the complete documentation index, see [llms.txt](https://duos-b2b-documentation.gitbook.io/duos-b2b-wholesale/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://duos-b2b-documentation.gitbook.io/duos-b2b-wholesale/quotation/quote-button-settings.md).

# Quote button settings

#### Step 1: Go to app -> B2B extensions -> Click on Manage button on Quotations card

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

#### Step 2: Choose Manage on Quote button settings

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

#### You can check the boxes for where you want the button to show up:

* Product page: Shows the button on pages for single products.
* Cart page: Shows the button inside the shopping cart.

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

* You can select product page and cart page at the same time. &#x20;

{% hint style="info" %}
*Note: If you want to* display the quote button under each line item in cart pag&#x65;*, you may need to follow the below  instructions below or contact the app's support for assistance.*
{% endhint %}

#### *Display the quote button under each line item in cart page*

1\. Go to Online store > Themes > Select to edit code on the theme that you want to add

<figure><img src="https://duos-b2b-documentation.gitbook.io/duos-b2b-wholesale/~gitbook/image?url=https%3A%2F%2F2703579845-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FLbbe5JDM4W1VS7AOww5I%252Fuploads%252FopeETxpurnFoBEFsRu3R%252Fimage.png%3Falt%3Dmedia%26token%3D02f28fb3-01ae-4eff-a02f-02f98e45ef60&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=80ae4722&#x26;sv=2" alt=""><figcaption></figcaption></figure>

2\. Find the liquid file of the cart line items, it usually can be found as  `main-cart-items.liquid`:&#x20;

3. Within the \`main-cart-items.liquid\` file, navigate to the

```
{%- for property in item.properties -%}
```

<figure><img src="https://duos-b2b-documentation.gitbook.io/duos-b2b-wholesale/~gitbook/image?url=https%3A%2F%2F2703579845-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FLbbe5JDM4W1VS7AOww5I%252Fuploads%252FZMO7VFCztRw7nqrFLia0%252Fimage.png%3Falt%3Dmedia%26token%3Da69f97e8-899e-4598-9d0b-9ecd710b4580&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=89651e59&#x26;sv=2" alt=""><figcaption></figcaption></figure>

* Add the code below after the line item properties for loop (after the `{%- endfor -%}` ) to show ‘Add to quote' button in cart page

```
<div class="product-option">
  <div
    data-duos-add-to-quote="true"
    data-product-id="{{ item.product.id }}"
    data-product-title="{{ item.product.title }}"
    data-variant-id="{{ item.id }}"
    data-variant-title="{{ item.variant.title }}"
    data-quantity="{{ item.quantity }}"
    data-handle="{{ item.product.handle }}"
    data-price="{{ item.variant.price }}"
    data-featured-image="{{ item.product.featured_image.src }}"
    data-url="{{ item.url }}"
    data-sku="{{ item.sku }}}"
    data-quantity-rule-min="{{ item.variant.quantity_rule.min }}"
    data-quantity-rule-max="{{ item.variant.quantity_rule.max }}"
    data-quantity-rule-increment="{{ item.variant.quantity_rule.increment }}"
    data-inventory-management="{{ item.variant.inventory_management }}"
    data-inventory-policy="{{ item.variant.inventory_policy }}"
    data-inventory-quantity="{{ item.variant.inventory_quantity }}"
  ></div>
</div>
```

4\. Finally, click Save to update.

#### Or decide which customers can see and use the quote button:

* B2B customers (default): The button will be visible to your B2B customers by default.
* Not logged-in users: Check this box if you want the button to be visible to customers who are not logged in. If you enable this, those customers will be asked to register for a B2B account when they submit a quote request, so please make sure the B2B form is published.&#x20;

{% hint style="info" %}
Learn more about [B2B registration form](/duos-b2b-wholesale/b2b-company-management/registration-form.md).&#x20;
{% endhint %}


---

# 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://duos-b2b-documentation.gitbook.io/duos-b2b-wholesale/quotation/quote-button-settings.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.
