> 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="https://2703579845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLbbe5JDM4W1VS7AOww5I%2Fuploads%2FiUS21gbqpCnsnGVlXHqm%2Fimage.png?alt=media&amp;token=7b0e525b-3a92-46d6-85b7-aeec5c27f0ea" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2703579845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLbbe5JDM4W1VS7AOww5I%2Fuploads%2FMYcoVv1M3skMzwfV7FRJ%2Fimage.png?alt=media&amp;token=43aaa2f7-8b81-46f7-b044-986c455d27b6" 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="https://2703579845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLbbe5JDM4W1VS7AOww5I%2Fuploads%2FJmTlhpzf0b1d52cPYEZ3%2Fimage.png?alt=media&amp;token=4bc9315e-e3c2-444d-b503-06a9a032ea8a" 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 %}
