# Remove parameter values

**URL:** <https://forum.mergado.com/t/remove-parameter-values/1199>\
**Category:** Rules\
**Tags:** parameters\
**Created:** [August 26, 2025, 11:02am UTC](https://forum.mergado.com/t/remove-parameter-values/1199 "2025-08-26T11:02:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![veronika\_kusalikova](https://forum.mergado.com/user_avatar/forum.mergado.com/veronika_kusalikova/32/430_2.png) [@veronika\_kusalikova](https://forum.mergado.com/u/veronika_kusalikova)\
**Post date:** [August 26, 2025, 11:02am UTC](https://forum.mergado.com/t/remove-parameter-values/1199/1 "2025-08-26T11:02:40Z")

</div>

In this post we will learn:

- [What is it used for?](https://forum.mergado.com/t/remove-parameter-values/1199#p-1827-what-is-it-used-for-1)
- [How does the rule work?](https://forum.mergado.com/t/remove-parameter-values/1199#p-1827-how-does-the-remove-parameter-values-rule-work-2)
- [Examples of use](https://forum.mergado.com/t/remove-parameter-values/1199#p-1827-usage-examples-6)
- [Summary](https://forum.mergado.com/t/remove-parameter-values/1199#p-1827-summary-9)

## What is it used for?

The rule is used **to clean up data from the feed, specifically to remove parameter values**. Individual values ​​or all values ​​can be removed at once. Both are possible. It depends on what we click in the rule.

 ![image](https://forum.mergado.com/uploads/default/original/2X/c/ca81b29d01d92bc3e75201fe0be6dc1590ca1f2f.png)

## How does the Remove Parameter Values ​​rule work?

In this section, we will describe how the rule works, what it can do, and what to watch out for.

### Basic principle

The rule is intuitive - it removes the listed values, or all values, and the parameter names associated with them, from the output feed.

Before:

```auto
<PARAM>
<PARAM_NAME>Color</PARAM_NAME>
<VAL>black</VAL>
</PARAM>
<PARAM>
<PARAM_NAME>Color</PARAM_NAME>
<VAL>green</VAL>
</PARAM>
<PARAM>
<PARAM_NAME>Color</PARAM_NAME>
<VAL>yellow</VAL>
</PARAM>
<PARAM>
<PARAM_NAME>Material</PARAM_NAME>
<VAL>cotton</VAL>
</PARAM>
<PARAM>
<PARAM_NAME>Material</PARAM_NAME>
<VAL>elastane</VAL>
</PARAM>

```

Rule:

 ![image](https://forum.mergado.com/uploads/default/original/2X/c/c33a08d29e1b243e27593e6cb502462dc6e4d164.png)

After [regeneration](https://www.mergado.com/data-regeneration-options):

```auto
<PARAM>
<PARAM_NAME>Color</PARAM_NAME>
<VAL>yellow</VAL>
</PARAM>

```

&nbsp;  
In case one parameter name has multiple values ​​like [siblings](https://forum.mergado.com/t/nestedness/748#children-and-parents-4) elements, only the values ​​are removed and the parameter name is kept (as long as it has a value left):

Before:

```auto
<PARAM>
<PARAM_NAME>Color</PARAM_NAME>
<VAL>black</VAL>
<VAL>green</VAL>
<VAL>yellow</VAL>
</PARAM>

```

Rule:

 ![image](https://forum.mergado.com/uploads/default/original/2X/7/75e814d575e96c7fc075000412db9594c30a9539.png)

After regeneration:

```auto
<PARAM>
<PARAM_NAME>Color</PARAM_NAME>
<VAL>black</VAL>
<VAL>yellow</VAL>
</PARAM>

```

### The rule is available “only” for projects with an output format that has parameters in the specification

Which makes sense. Furthermore, the rule is available even for projects with a [custom format](https://forum.mergado.com/c/knowledgebase-faq/custom-format/58) on the output, which has parameters mapped in the settings of the given custom format.

 ![](https://forum.mergado.com/uploads/default/original/2X/e/e66a306856dbc30dd178cdef8ed53268d1665731.png)

### What else does the Remove parameter values ​​rule form offer?

The rule form offers several functions that make our work easier:

1. The names and values ​​of the parameters **are whispered**. So we don’t have to write everything unnecessarily. Just click on the given things.  
&nbsp;  

2. **smart insert** works in forms. If we have the names and values ​​of the parameters listed in the table, we can simply copy them, check the Smart Insert Mode box, and then paste them into the form.

3. For projects with an output format that has **multiple parameter types** in the specification, it is necessary to select in the form which type of parameters we want to work with.  
&nbsp;  

## Usage examples

We will show several examples of using the Delete parameter values ​​rule on Glami and Shoptet formats.

### Glami

**Example 1** : We will remove the values ​​_other_ and _silicone_ of the _Material_ parameter.

 ![image](https://forum.mergado.com/uploads/default/original/2X/4/40e0521840bc4931867f88363331f04e147f14db.png)

After regeneration, we will no longer see the given value in the output feed.

### Shoptet

**Example 2** : We will remove all values ​​of the parameters _Fit_ and _Number of layers_. This is a parameter type `TEXT_PROPERTY`.

 ![image](https://forum.mergado.com/uploads/default/original/2X/0/0c331992416a20e163dce2f334b427aeaa4f8956.png)

**Example 3** : We will remove the value _White_ of the parameter _Color_ for all variants.

 ![image](https://forum.mergado.com/uploads/default/original/2X/d/dead1fd0d020ece874901580f996bdccfa3f7a69.png)

**Example 4** : We will remove the value _White_ of the parameter _Color_ only for variants with the value of [attribute](https://forum.mergado.com/t/attributes-in-elements/676) `@id` _46_ and _64_.

 ![image](https://forum.mergado.com/uploads/default/original/2X/0/02eaf8065fe5ad38bcac0513d14e8d27e67bab5b.png)

## Summary

- [What is it used for?](https://forum.mergado.com/t/remove-parameter-values/1199#p-1827-what-is-it-used-for-1)  
The rule is used to remove parameter values. Individual values ​​or all values ​​can be removed at once.  
&nbsp;  
 ![image](https://forum.mergado.com/uploads/default/original/2X/c/ca81b29d01d92bc3e75201fe0be6dc1590ca1f2f.png)  
&nbsp;
- [How does the rule work?](https://forum.mergado.com/t/remove-parameter-values/1199#p-1827-how-does-the-remove-parameter-values-rule-work-2)  
The rule is intuitive - it removes the listed values, or all values, and the parameter names associated with them from the output feed.
