Rule: Remove Parameter Values#

This rule is used to remove specific product parameter values from the feed, or to remove an entire parameter including its name and all values. It is useful for cleaning up data when you need to remove unwanted or outdated information.

Extra features#

  • Parameter name autocomplete
  • Bulk copy values, for example from Google Sheets
  • Parameter type query option
  • Option to add multiple rows

Practical examples#

Example 1: Remove a specific parameter from the feed#

This example shows how to remove parameter values from the feed, for example the values Black and White from the Color parameter.

1. Creating a new rule:

  • Open the “Rules” page.
  • Click the New rule button.

2. Selecting the rule type:

  • In the Rule type field, select the Remove Parameter Values option.

3. Selecting products:

  • In the Query field, choose either All products or create your own Product query for specific products you want the rule to apply to.

4. Selecting the parameter:

  • In the Parameter field, type or select from the list the element whose parameter you want to remove.
  • In our case, this will be the Color value.
  • 💡Tip: Using “Prefill left side”, you can load all parameters of the given project. This step is not suitable for our example since we are selecting only a specific value.

5. Selecting values to remove:

  • In the “Remove the following values” field, enter the value you want to remove.
  • For example: “Black” and “White”.
  • 💡Tip: You can also use a variable or a combination of variable and text.

6. Naming the rule:

  • In the last step, enter the rule name, for example “Remove Color parameter values”.

Example 2: Remove all values of a parameter (Color) from a supplier feed#

This example shows how to remove all values of the Color parameter from the feed, including the parameter name.

1. Creating a new rule:

  • Open the “Rules” page.
  • Click the New rule button.

2. Selecting the rule type:

  • In the Rule type field, select the Remove Parameter Values option.

3. Selecting products:

  • In the Query field, choose either All products or create your own Product query for specific products you want the rule to apply to.

4. Selecting the parameter:

  • In the “Parameter” field, enter or select from the Selectbox the parameter whose values you want to remove entirely.
  • In our case, this will be the “Color” parameter.

5. Selecting values to remove:

  • In the “Remove the following values” field, you do not need to enter any specific values.
  • Simply check the “Remove all values” selectbox, which will remove all values of this parameter.

6. Naming the rule:

  • In the last step, enter the rule name, for example “Remove Color parameter”.

Additional uses#

  • Remove payment methods
  • Remove carriers
  • Remove all parameters that reference suppliers or other unwanted values.

FAQ#

What is the Remove Parameter Values rule for?#

This rule allows you to remove specific parameter values or entire parameters including their names and values. It is used, for example, for:

  • removing outdated information (e.g., old colors, obsolete sizes),
  • cleaning the feed of unnecessary or duplicate parameters,
  • removing supplier parameters that you do not want to export to output feeds.

What is the difference between this rule and the Set Product Parameters rule?#

  • Remove Parameter Values → removes the entire parameter or specific parameter values.
  • Set Product Parameters → allows you to add, modify, or delete only the value (the name is preserved).

💡 If you just want to “clear” the value but keep the parameter, use Set Product Parameters with an empty Value field.

Can I remove only selected values within a single parameter?#

Yes. In the “Remove the following values” field, enter the values you want to delete (e.g., Black, White). You can enter multiple values, or use a variable or combination of text and variable.

How do I remove all values of a single parameter?#

If you want to remove the entire parameter including all values, simply check the “Remove all values” checkbox. This removes the entire parameter from the feed, for example the entire block:

<PARAM> <PARAM_NAME>Color</PARAM_NAME> <VAL>Black</VAL> </PARAM>

➡️ After applying the rule: the Color parameter will no longer appear in the product.

Can I remove multiple parameters at once with this rule?#

Yes. Simply add multiple rows to the rule – one for each parameter. 💡 Using the “Prefill left side” button, you can load all project parameters and then select the ones you want to delete.

Can I use this method to remove, for example, carriers or payment methods?#

Yes. If carriers or payment methods are stored as parameters (e.g., Shipping = DHL), you can remove them the same way. Simply select the appropriate name in the “Parameter” field (e.g., Shipping, Payment).

Can the rule remove all parameters from the entire feed?#

Yes, but be careful. If you load all parameters using “Prefill left side” and check “Remove all values” for all rows, Mergado will remove all parameters from all products.

Does removing parameters affect the XML feed structure?#

No. The rule works only with element content – the XML structure remains valid and intact. Only specific <PARAM> blocks (including names and values) are removed.

Can the rule be applied only to a specific group of products?#

Yes. You can create a Product query (e.g., by supplier, brand, or category) and apply the rule only to those products. Other products remain unchanged.

Can I check what was removed?#

Yes. After saving and applying the rules or after regenerating the feed, check the changes on the Products page, or use the Rule walkthrough. This feature allows you to compare the original and resulting product versions and see exactly which parameters were removed.

🇨🇿 🇬🇧 🇩🇪 🇭🇺