# Generate a Buy-Link using the Default Flows cart

## Overview

One of the options to integrate your platform with the 2Checkout systems is to generate a buy-link that you can then apply to the Buy button on your web store. In this article, we will show you how to create a buy-link both for a single product as well as for multiple selections of different products.

## Availability

All merchants (on any type of account) can generate a link from the Merchant Control Panel.

## Generate a buy-link for one or more products using the default flows

{% hint style="warning" %}
Any buy link generated using the MD5 hashing algorithm should be changed to use SHA2/SHA3, as per the [Migration guide](/2checkout-apis/2checkout-apis/security-algorithms/upgrade-from-md5-to-sha2-sha3-algorithm.md) documentation.
{% endhint %}

{% stepper %}
{% step %}

### Log in to the Merchant Control Panel

Log in to your 2Checkout account in the [Merchant Control Panel](https://secure.2checkout.com/cpanel).
{% endstep %}

{% step %}

### Open Generate links

Navigate to **Setup** and click on [Generate links](https://secure.2checkout.com/cpanel/integration.php).&#x20;

* Learn how to manage buy-link behavior by using [query parameters](/payment-link/checkout-links-and-options/buy-link-parameters.md).&#x20;

<div data-with-frame="true"><img src="/files/6ae12b68e0c05e882beec8f999e97780d5edf254" alt=""></div>
{% endstep %}

{% step %}

### Choose Checkout links and Default flows cart

Click on **Checkout links** and the Default flows cart. Here are the two most popular templates for it:

* One page checkout without review&#x20;
* One page checkout with review&#x20;
* Learn more about purchase flows/funnels [here](https://verifone.cloud/docs/2checkout/Documentation/07Commerce/04Purchase_flows/).

<div data-with-frame="true"><img src="/files/b7ab4d151a9fe0924c47118af27746626b2f5a28" alt=""></div>
{% endstep %}

{% step %}

### Select one or more products

Select **one or more products** from the dropdown list.

If you have more than 2000 products in your product catalog in your 2Checkout account, you can perform multiple selections on the **Generate links** page, which allows you to select more products at a time instead of using individual search.

<div data-with-frame="true"><img src="/files/6f969a2068365012f63461378b49001cd8946d26" alt=""></div>

<div data-with-frame="true"><img src="/files/5d918ec0c78ea1244e3973a28c429b96eeec128e" alt=""></div>
{% endstep %}

{% step %}

### Modify selection (quantity, pricing options)

After selecting your product, a table will open under the selection field, that will allow you to modify the quantity for your product, its additional pricing options, or remove it from your selection.

<div data-with-frame="true"><img src="/files/89a0a4808a0e01551b1f303fca60edaf657abe24" alt=""></div>

<div data-with-frame="true"><img src="/files/c835748901050eb053c37a37196b4725bc4b84fb" alt=""></div>
{% endstep %}

{% step %}

### Generate Link

The last step is to click on **Generate Link** to create your buy-link and place it on the call-to-action button on your online store. You can control order interface behavior with the [advanced options for checkout](https://verifone.cloud/docs/2checkout/Documentation/07Commerce/Checkout-links-and-options/Checkout-advanced-options/).

<div data-with-frame="true"><img src="/files/75944e90ef4339aa6e693159d6de6f502d79eede" alt=""></div>
{% endstep %}
{% endstepper %}


---

# 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.2checkout.com/payment-link/create-a-payment-link/generate-a-buy-link-using-the-default-flows-cart.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.
