> For the complete documentation index, see [llms.txt](https://halosoft.gitbook.io/bc-nimo-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://halosoft.gitbook.io/bc-nimo-documentation/product-detail-page/frequently-bought-together-function-bundle-products.md).

# Frequently Bought Together Function (Bundle Products)

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

There are 2 options for you to choose which products are used in the Frequently Bought Together:

* Using Related Product.
* Using Product ID.

**01. Using Related Product**

To show **Frequently Bought Together** on Product Detail, In the Admin panel -> Go to **Products** -> **View** -> click button **Choose a product you want to apply Frequently Bought Together** -> **Custom Fields**.

To pull products from your Related Products, create the following custom field:

&#x20;   \+ Custom Field Name:  **\_\_bundle**

&#x20;   \+ Custom Field Value:  **related products**

{% hint style="info" %}
\* Note:

* The first product will always be the Product of the page you are on. The next products will be pulled from this product's first Related Products.
* You can either let BigCommerce select a Product's Related Products randomly or you can manually choose which products to display.
* Refer this link: <https://support.bigcommerce.com/s/article/Setting-Up-Related-Products> for your reference about Related Products.
  {% endhint %}

**02. Using Product ID**

To pull products from your Related Products, create the following custom field:

&#x20;   \+ Custom Field Name:  **\_\_bundleid**

&#x20;   \+ Custom Field Value:  **the number of your product id**. Example: 100,101,102 (they are Product ID), use the comma to separate them

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

**How do I get Product ID of a product?**

* Please follow this instruction image:

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

{% hint style="info" %}
When you are happy with your changes, don't forget click **Save** and **Publish** to repackage the edited theme.
{% endhint %}
