---
title: Restrict vendor product types to Downloadable only
description: "To make only one option available for selection, kindly add the following code to the `functions.php` file of your currently active theme. ``` addFilter(    ‘multivendorx_product_delivery_type_options’,    ‘my-marketplace/downloadable-only’,    (options) => {        return options.filter(            (option) => option.value === ‘downloadable’        );    }); ```"
url: "https://multivendorx.com/docs/code-snippet/restrict-vendor-product-types-to-downloadable-only/"
updated: "2026-11-23"
category: Product Management
---

# Restrict vendor product types to Downloadable only

To make only one option available for selection, kindly add the following code to the `functions.php` file of your currently active theme.

```
addFilter(    ‘multivendorx_product_delivery_type_options’,    ‘my-marketplace/downloadable-only’,    (options) => {        return options.filter(            (option) => option.value === ‘downloadable’        );    });
```
