# Uploadery

## Show or hide Uploadery fields based on Infinite Option selections

You can use [Uploadery](https://apps.shopify.com/uploadery) along with [Infinite Options](https://apps.shopify.com/custom-options) to show or hide upload fields based on an Infinite Option's option selection. Follow the instructions below to set this up.

**Note**: Before proceeding, please have [Infinite Options](https://apps.shopify.com/custom-options) and [Uploadery](https://apps.shopify.com/uploadery) currently installed on your store.

1\. On the Uploadery app dashboard, in the **Option Sets** tab, create an upload set that you want to conditionally show or hide based on an option from Infinite Options. If you would like to use an existing upload set, that will work as well.

Make sure to assign the Option Set to Infinite Options by selecting **Show for Infinite Options** or else Infinite Options won't be able to locate your Option Set from Uploadery.

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

2\. Add a descriptive **Label** suggesting customers can upload their own file.

3\. Change the **Field Name** value from uploadery\_1 to something more descriptive. Be sure to keep the Field Name values unique, as they will overwrite each other if they match. Then, click on **Save Changes**.

4\. Click on **Apps** in the left sidebar of your Shopify admin.

5\. Navigate into the **Infinite Options** app dashboard and create an Option Set (if you haven't done so already). Repeat steps 2 and 3. Make sure to [assign the Option Set](https://docs.theshoppad.com/article/134-assign-options-to-products) to any products that apply.&#x20;

{% hint style="info" %}
**Note:** Please make sure to only create one Option Set on Infinite Options for the specified products with Uploadery involved. Creating multiple option sets while integrating with Uploadery will not work.&#x20;
{% endhint %}

6\. When you are ready to add the upload field from Uploadery into the Option Set, click on the **Import from Uploadery** button.

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

7\. **Select** your desired upload field that you want to import into this Option Set.&#x20;

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

{% hint style="info" %}
You will not be able to edit the Upload Field on Infinite Options, but if you need to make any adjustments, you can head back to the Uploadery dashboard.
{% endhint %}

8\. Click to **Create a new conditional rule** in the newly imported upload field.

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

9\. You'll then want to create your desired [conditional rule](https://docs.theshoppad.com/article/612-conditional-logic).

10\. **Save** your changes.&#x20;

Now the upload field will show or hide based on the option selection! 🎉

{% hint style="info" %}
**Note:** Previewing the option set from the Infinite Options dashboard will not show this conditional logic properly. To avoid this, simply view the product as if you were a customer, without using the Preview feature.
{% endhint %}


---

# 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://shoppad.gitbook.io/infinite-options/conditional-logic/uploadery.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.
