> For the complete documentation index, see [llms.txt](https://templatescoder.gitbook.io/pizzon-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/pizzon-shopify-theme-documentation/collection-and-product/product-combo.md).

# Product Combo

### 01 - Set up Product Combo

<figure><img src="https://4042727321-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSkIHgFDpy0SIeYlayaAb%2Fuploads%2Ft1fonrNrXFrlAMZjSQxJ%2Fscreenshort-140.jpg?alt=media&amp;token=c9e4769b-982d-431c-9644-d16731121e0e" alt=""><figcaption></figcaption></figure>

**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/SkIHgFDpy0SIeYlayaAb/blobs/gEnuUlPzt33TN260Pd05/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/SkIHgFDpy0SIeYlayaAb/blobs/FeFuIe6FQNabBXDlG8gt/image.jpg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4042727321-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSkIHgFDpy0SIeYlayaAb%2Fuploads%2FYifFCje9AOGDiJgwEoaG%2Fscreenshort-141.jpg?alt=media&amp;token=bf686187-7563-4387-84bd-08fed48f90b5" 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://4042727321-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSkIHgFDpy0SIeYlayaAb%2Fuploads%2FFpKlJ9WxFed6qkuUAa1N%2Fscreenshort-142.jpg?alt=media&amp;token=ca35e64e-6d1d-440f-ae85-07d400296a90" alt=""><figcaption></figcaption></figure>

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

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

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

<figure><img src="https://4042727321-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSkIHgFDpy0SIeYlayaAb%2Fuploads%2FpV9GW3zUxpbGx4CRz5Cg%2Fscreenshort-143.jpg?alt=media&amp;token=ac90e657-e1ad-46f3-8a49-b2107e4dc048" alt=""><figcaption></figcaption></figure>

3. 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/SkIHgFDpy0SIeYlayaAb/blobs/fYQyyBh8JjxQPyOIe62T/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://4042727321-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSkIHgFDpy0SIeYlayaAb%2Fuploads%2FfsHIvX04XVi1Poj9pgcb%2Fscreenshort-144.jpg?alt=media&amp;token=239a3d38-63a1-4e75-b68d-a3d429a2e2b3" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4042727321-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSkIHgFDpy0SIeYlayaAb%2Fuploads%2FaQg0Z3CQuHrA1o1fKvBS%2Fscreenshort-145.jpg?alt=media&amp;token=98a1e294-ad2f-4c6e-bbd7-ed52f30afbcb" alt=""><figcaption></figcaption></figure>

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