> For the complete documentation index, see [llms.txt](https://templatescoder.gitbook.io/labacha-shopify-theme-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://templatescoder.gitbook.io/labacha-shopify-theme-documentation/collection-and-product/product-combo.md).

# Product Combo

<figure><img src="https://content.gitbook.com/content/99MlOzvyJDAhsvR2FLtv/blobs/S8rwtxFOoGwJ5whXBApd/Untitled-1.jpg" alt=""><figcaption></figcaption></figure>

### 01 - Set up Product Combo

**Create a Metafield for Bundle:**

{% hint style="success" %}
**Steps:**

1. From your Shopify admin, go to **Settings** -> **Metafields**.
2. Click **Products → Add Definition.**
3. Please enter correct **Namespace and Key** as we noted below.
   {% endhint %}

```
Name: Combo Discount Rate or any name.
Namespace and key: c_f.combo_discount_rate
Select content type: Integer
```

<figure><img src="https://content.gitbook.com/content/99MlOzvyJDAhsvR2FLtv/blobs/n3VnrkOD75KUe7szr1sD/screenshort-246.jpg" alt=""><figcaption></figcaption></figure>

### How to create one more metafields to specify which items will in the product combo

Repeat the same process we noted above.

* or the Name: you can enter anything you want.

{% hint style="info" %}
The Namespace and Key must be ***"c\_f.product\_combo"*** for the function to work.
{% endhint %}

```
Name: Product Combo or any name.
Namespace and key: c_f.product_combo
Select content type: Single Line Text
```

<figure><img src="https://content.gitbook.com/content/99MlOzvyJDAhsvR2FLtv/blobs/lF5Q2PrRtqKOVo3J7sET/image.jpg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3628331143-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F99MlOzvyJDAhsvR2FLtv%2Fuploads%2FB1dm9Srvc6gXPudpkbE6%2F64.jpg?alt=media&amp;token=cf2d797d-dee7-4be7-8546-2f737f48f3e8" alt=""><figcaption></figcaption></figure>

### 02- Create Product Combo in the database

1. From your Shopify admin, go to **Products section -> Click "Add Product" button**

<figure><img src="https://content.gitbook.com/content/99MlOzvyJDAhsvR2FLtv/blobs/e8u2bFVwFtizgi2mGBgM/screenshort-248.jpg" alt=""><figcaption></figcaption></figure>

2. Enter the **title** and **description** for Product Combo.

<figure><img src="https://content.gitbook.com/content/99MlOzvyJDAhsvR2FLtv/blobs/vAhb1cucvRe69SOwKn82/screenshort-249.jpg" alt=""><figcaption></figcaption></figure>

3. Upload some images about the Product Combo to the **Media Section**.

<figure><img src="https://content.gitbook.com/content/99MlOzvyJDAhsvR2FLtv/blobs/Q1DJBbHnIZfKCoMYpGcZ/Untitled-1.jpg" alt=""><figcaption></figcaption></figure>

4. Scroll down to the **Product Metafields** section, you will see the **2 Metafields** you created a moment ago **"Product Combo" and " Combo Discount Rate"**

<figure><img src="https://content.gitbook.com/content/99MlOzvyJDAhsvR2FLtv/blobs/3Q6Hw7QNOyiFE9CpKdPd/screenshort-251.jpg" alt=""><figcaption></figcaption></figure>

5. Go to **another Tab**, select some Product you want to add to the **Combo.**

**Tip:** Right click and open the Products on the new tabs.

6. On each Product, Scroll down to the **Search Engine Listing** section and copy its handle, then past it to the **Product Combo Metafield.**

**Note:** Repeat the same process with all the product you want to add to the **Combo.**

<figure><img src="https://content.gitbook.com/content/99MlOzvyJDAhsvR2FLtv/blobs/2Uhyqac7kX2cSh9D29ow/Untitled-1.jpg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/99MlOzvyJDAhsvR2FLtv/blobs/FPX4bWvgGm5J8sTM5aN5/Untitled-1.jpg" alt=""><figcaption></figcaption></figure>

**The handle in Product Combo must be separated with a Comma.**
