> For the complete documentation index, see [llms.txt](https://halosoft.gitbook.io/ella-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/ella-documentation/product-page/product-combo.md).

# Product Combo

<figure><img src="https://3284033180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fag3h7ZduRGWlquTgGUHi%2Fuploads%2F7b4dlcXU5ZMHuhbjT5iJ%2Fimage.png?alt=media&amp;token=82259cb6-b5a9-431d-ac9f-60c88da104e6" alt=""><figcaption></figcaption></figure>

{% embed url="<https://www.youtube.com/watch?v=50dCR7GMwGA>" %}

## 01 - Set up Product Combo

### **Create a Metafield for Bundle:**

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.

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

<figure><img src="https://3284033180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fag3h7ZduRGWlquTgGUHi%2Fuploads%2FHuHwJSmTE4hJDFobGBBX%2Fimage.png?alt=media&amp;token=fff31152-1965-48c5-850c-3052b2749235" 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.

* For 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://3284033180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fag3h7ZduRGWlquTgGUHi%2Fuploads%2FSSegVCR31fvHibY8vUwe%2Fimage.png?alt=media&amp;token=b3b737bb-41a1-4aa9-afc2-994290460757" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3284033180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fag3h7ZduRGWlquTgGUHi%2Fuploads%2FpshMOQaUK5FDFR0yp3Ru%2Fimage.png?alt=media&amp;token=12a3e769-e9f8-4272-95cd-06e39b205902" 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://3284033180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fag3h7ZduRGWlquTgGUHi%2Fuploads%2FQAiro3s2ln06UBJTv4AR%2Fimage.png?alt=media&amp;token=47c141ea-da43-4811-962b-dd301cc29a5a" alt=""><figcaption></figcaption></figure>

&#x20; **2.** Enter the **title** and **description** for Product Combo.

<figure><img src="https://3284033180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fag3h7ZduRGWlquTgGUHi%2Fuploads%2FwtU5tYlvHD9UjYfYoeTF%2Fimage.png?alt=media&amp;token=4c02ea12-f9f8-4cda-8f61-960fe5ebb4eb" alt=""><figcaption></figcaption></figure>

&#x20;**3.** Upload some images about the Product Combo to the **Media Section**.

<figure><img src="https://3284033180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fag3h7ZduRGWlquTgGUHi%2Fuploads%2FM0hyNNAHvwquJowTkxu8%2Fimage.png?alt=media&amp;token=e22d0b7e-edc9-40fc-bfa3-124b70127661" alt=""><figcaption></figcaption></figure>

&#x20;**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://3284033180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fag3h7ZduRGWlquTgGUHi%2Fuploads%2FefMTTndZcOEmP9jx9Y5x%2Fimage.png?alt=media&amp;token=2fcb6b97-95d2-496e-8a8b-e519365c4ff5" alt=""><figcaption></figcaption></figure>

&#x20;**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.&#x20;

&#x20;**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://3284033180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fag3h7ZduRGWlquTgGUHi%2Fuploads%2FpN0VZdbKIKPLTboaarhI%2Fimage.png?alt=media&amp;token=06ebabf9-420b-4e61-90e3-0cd9059aff0a" alt=""><figcaption></figcaption></figure>

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