# 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="https://24152052-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FglwgaFVh2VmGBjtIbnDb%2Fuploads%2FczQgvjEdXjMJOnIndsnl%2FUploadery-IO-doc.png%20-%20Step%201.png?alt=media&#x26;token=b672004a-3d4c-4257-bb1c-4371ed050acc" 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="https://24152052-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FglwgaFVh2VmGBjtIbnDb%2Fuploads%2FeZfUeNGisw10akJbBMOl%2FImport-IO-Uploadery.png%20-%20Step%201.png?alt=media&#x26;token=f1f165fc-40de-46a8-ae9c-74e454379379" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://24152052-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FglwgaFVh2VmGBjtIbnDb%2Fuploads%2FmvpCn87cPWlDt7a0xhX5%2FImport-IO-Uploadery.png%20-%20Step%202.png?alt=media&#x26;token=cd87e53c-23a9-4141-8a0c-14442b94c20a" 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="https://24152052-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FglwgaFVh2VmGBjtIbnDb%2Fuploads%2F52boHHHpXMDxho3z3N4D%2FUploadery-IO-doc.png%20-%20Step%201%20(1).png?alt=media&#x26;token=f064c955-a249-4a3d-9ab7-7f53cad97425" 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 %}
