# Bulk feed editing with rules, no coding – Sortyra

> Bulk feed editing with rules: 16 actions, 16 conditions, a test run before saving and version rollback. Prices, names and product selection for every channel.

Source: <https://sortyra.com/features/rules>

---

[Sortyra](https://sortyra.com/) [Features](https://sortyra.com/features)Rules and bulk edits

Feature · Content editing

# Bulk feed editing with rules – thousands of products at once, no code

Bulk feed editing with rules means you set an “if this condition applies, make this change” instruction once, and Sortyra applies it to all selected products on every update. Every channel gets the right prices, names and product selection without manual work.

[Try it free](https://app.sortyra.com/registracia?lang=en) [All features](https://sortyra.com/features)

- **16 actions**from price calculation to hiding; data import in JSON
- **16 conditions**including regex and EAN validation
- **From – until**the rule switches itself on and off

## When you need this feature

### You make the same fix after every import

Your supplier sends prices without your markup and names without the brand, so you repeat the same edit on every update.

### Every channel wants different data

Google needs a shorter name, a comparison site a different text, and products without an image shouldn’t go into ads.

### A change affects hundreds of products at once

Editing a whole category product by product takes hours and is error-prone.

## How it works in the app

You’ll find rules in the left menu, in the **Catalogue** group under **Rules**. Each rule belongs to one output, so the Google feed can have a different chain from the PriceRunner feed.

1.

### Select the output

In the **Feed** switcher in the app header, choose an output, for example Google or Meta. The **Rule chain** tab then shows the rules for that output.

2.

### Add an IF condition

Click **New rule** and, via **Add condition**, fill in the **Field**, **Condition** and **Value**. Without a condition, the rule applies to all products in the output.

3.

### Choose a THEN action

In the **Action** field, choose what should happen and fill in the **Target field**, for example `PRICE_VAT`. The exact field names are shown on the **Fields and values** screen.

4.

### Start a test run

The **Test run** button shows the number of changed and hidden products, the affected fields and “before → after” examples without saving anything.

5.

### Save the rule

The **Create rule** button adds it to the end of the chain and the output is recalculated straight away. You can change the order later with the arrows.

## What you can set

| Setting | What it does | When to use it |
| --- | --- | --- |
| Condition logic | Determines whether all conditions must apply or whether one of them is enough. | For example, hide only goods that are out of stock and also have a delivery time over 14 days. |
| For supplier | Limits the rule to products from one source. | When you only need a markup for one supplier. |
| Active from | Together with the **Active until** field, switches the rule on and off automatically at the set time. | For a weekend sale or Black Friday without rewriting prices overnight. |
| Variables | A value, such as a margin or exchange rate, that you use in a rule by writing `[VAR:MARZA]`. | When you use the same number in several rules or outputs. |
| Recipes | Ready-made rule sets for data quality, texts, prices, stock, marketing and seasons. | For common tasks; you’ll see the effect via **Preview impact**. |
| Export rules | Downloads the chain as a file; **Import rules** uploads it to another output. | Identical rules aren’t added twice on import. |
| Track product | On the next run, records on the **Rule trace** tab which rules changed the product. | When a product looks different from what you expected. |

## What bulk feed editing with rules is made of

A rule consists of an **IF** part, which selects products, and a **THEN** part, which changes them. Conditions compare text ( **is**, **contains**, **starts with**, **ends with**), numbers and dates, check whether a field is filled in or an EAN is valid, and can even handle a regular expression. For fields with several values, such as categories or images, one matching value is enough. Actions cover four areas of the feed:

- texts: **Set value**, **Add to start**, **Find and replace**, **Letter case**, **Truncate text** to whole words, **Remove HTML**
- prices: **Calculation** using a formula and **Round to ending**
- values and codes: **Value table**, **Copy values**, **Generate code**, **UTM parameters**, **Translate**
- selection: **Hide product** – it won’t go into the output but stays in the catalogue  

## Order in the chain and the priority of manual edits

Rules run from top to bottom, and each works with the result of the previous one. If the first adds the brand to the name and the second truncates the name to 150 characters, it’s the name with the brand that gets truncated. A product value is always built in the same order: source data, then rules, and finally manual edits. A field that someone edited in the **Products** section and ticked **Lock manual edits** for is therefore never overwritten by a rule. So you can safely add an exception for one product to a general rule for thousands. How to handle exceptions is explained in the guide [Manual edits and locked fields](https://sortyra.com/knowledge-base/manual-edits-locked-fields).

## Checking the impact before and after saving

The **Test run** tries a draft rule on the output’s products without saving anything. After saving, three indicators help. Products where a calculation hit an empty or non-numeric value stay unchanged, and you’ll find them in the **Products** section under the **With rule error** status; adding the condition `PURCHASE_PRICE is filled in` usually helps. A rule that does exactly the same as an earlier one gets a “Same as #” label with the original’s number. The **Rule trace** tab for a tracked product lists every rule that changed or hid it.

## Version history: every rule change can be undone

The **Version history** tab saves every change to the chain with the time and author – a person, AI or a system connected via API. The **Restore this version** button returns the chain to a previous state, even if you’ve deleted a rule in the meantime, and the output is recalculated. Each rule has a **Rule enabled** switch, so you can turn it off temporarily without deleting it, and a **Note** button to explain why the rule exists. With a long chain, bulk switching off via **Select shown** helps.

## Who it’s for

- Online shops that add their own markup to supplier prices  
- Sellers on several channels, each wanting different data  
- Shops with a large range  
- Agencies that transfer proven rule chains between outputs  

## Related features

- [**AI Copilot**set up and edit your feed in a conversation](https://sortyra.com/ai-copilot)
- [**Quality check**errors caught before publishing](https://sortyra.com/features/quality-check)
- [**Channels**feeds for Google, Meta, PriceRunner and more](https://sortyra.com/features/channels)
- [**External data**ECB exchange rates, holidays and data from web pages](https://sortyra.com/features/external-data)

## Example: car parts with the brand in the name and a 12% markup

A car parts shop sends 9,600 products from one supplier to Google. Names like “Front brake pads” don’t contain the brand, even though the supplier states the manufacturer in the `MANUFACTURER` field, and 1,150 products have no image. The owner wants to sell with a 12% markup.

1. They add the rule `IF IMAGES is empty → Hide product`; the test run reports 1,150 hidden products.
2. They add `IF MANUFACTURER is filled in → Add to start: NAME = %MANUFACTURER%`, so “Front brake pads” becomes “Ferrox Front brake pads”.
3. In **Variables** they save `MARZA` = `1.12` for all outputs and add `Calculation: PRICE_VAT = PRICE_VAT * [VAR:MARZA]`.
4. They transfer the chain to the Meta output too via **Export rules**.

8,450 products (9,600 − 1,150) go to Google, all with the brand at the start of the name. Brake pads priced at €40.00 in the supplier feed cost €44.80 in the output. Changing the margin in **Variables** later recalculates both outputs at once.

## What the feature doesn’t do

- It doesn’t change data at the supplier or in your shop, only what goes out in the output. Send the data to your shop with a separate output, for example a CSV for WooCommerce import – see [channel outputs](https://sortyra.com/features/channels).
- It doesn’t invent missing data and never generates EANs. Missing EANs or manufacturers are suggested by [product matching](https://sortyra.com/features/product-matching), and photos from the shop’s website can be loaded by the [external data](https://sortyra.com/features/external-data) feature.
- It doesn’t write new texts or assign products to the category tree. Unique descriptions are prepared by AI content, and assignment is handled by [category mapping](https://sortyra.com/features/categories).
- It isn’t meant for an exception for a single product. Make that with a locked manual edit in the **Products** section.

## Where you’ll use this feature

### Many suppliers, one catalogue

merging feeds and deduplication by EAN

Read more →

→ <https://sortyra.com/use-cases/multiple-suppliers>

### Dropshipping without your own stock

availability and prices from the supplier

Read more →

→ <https://sortyra.com/use-cases/dropshipping>

### Margin-based advertising

custom_label, Performance Max, UTM

Read more →

→ <https://sortyra.com/use-cases/margin-based-advertising>

### Catalogue for Facebook and Instagram

catalogue ads from an up-to-date feed

Read more →

→ <https://sortyra.com/use-cases/facebook-instagram-catalogue>

### Better names and descriptions

for Google, comparison sites and your online shop

Read more →

→ <https://sortyra.com/use-cases/better-product-titles>

### Marketplaces

Allegro, Kaufland, eMAG, Heureka, Amazon, eBay – beta

Read more →

→ <https://sortyra.com/use-cases/marketplaces>

### Catalogue translation for other countries

language, currency, VAT and shipping for each market

Read more →

→ <https://sortyra.com/use-cases/catalogue-translation>

### Competitor prices under control

price position, strategy and margin protection

Read more →

→ <https://sortyra.com/use-cases/competitor-price-monitoring>

### Google or a comparison site rejects your feed

pre-publish check and change history

Read more →

→ <https://sortyra.com/use-cases/feed-errors>

### B2B and wholesale

business prices and price quotes

Read more →

→ <https://sortyra.com/use-cases/b2b-wholesale>

### Feed for resellers

manufacturers and distributors for retailers

Read more →

→ <https://sortyra.com/use-cases/feed-for-resellers>

### Supplier + own stock on Heureka

true availability, no selling what nobody has

Read more →

→ <https://sortyra.com/use-cases/supplier-feed-own-stock-heureka>

### Allegro from Shoptet or WooCommerce

offers on allegro.pl – beta

Read more →

→ <https://sortyra.com/use-cases/sell-on-allegro-from-shoptet-woocommerce>

### Kaufland.sk and .cz – price with commission

commission, exchange rate and VAT – beta

Read more →

→ <https://sortyra.com/use-cases/kaufland-price-commission-exchange-rate>

### GLAMI for a fashion shop

variants, sizes and GLAMI categories

Read more →

→ <https://sortyra.com/use-cases/glami-feed-for-fashion-shops>

### Seasonal categories without losing SEO

Christmas and Black Friday with 301 redirects

Read more →

→ <https://sortyra.com/use-cases/seasonal-categories-without-losing-seo>

### Fashion and footwear

variants, sizes, GLAMI and Google

Read more →

→ <https://sortyra.com/use-cases/fashion-product-feed>

### Furniture and interiors

FAVI, Biano, dimensions and long delivery

Read more →

→ <https://sortyra.com/use-cases/furniture-and-home-product-feed>

### Electronics

EAN, attributes and matching on comparison sites

Read more →

→ <https://sortyra.com/use-cases/electronics-product-feed>

### Home and garden

seasons, multiple suppliers and thematic categories

Read more →

→ <https://sortyra.com/use-cases/home-and-garden-product-feed>

### Cosmetics and toiletries

unit price, expiry, bundles and gifts

Read more →

→ <https://sortyra.com/use-cases/cosmetics-and-beauty-product-feed>

## Frequently asked questions

**

### Is bulk feed editing with rules included in the price?

**

Yes. Rules and recipes are in every plan at no extra cost; details are on the [pricing](https://sortyra.com/pricing) page.

**

### How often are rules applied?

**

On every output run, i.e. as many times a day as your subscription has updates – from 1× to 24× a day. After every rule change, the output is recalculated automatically.

**

### Do I need a developer for rules?

**

No. You choose the field, condition and action from a menu. Editing in **JSON** or regular expressions are only for advanced users.

**

### Does it work with a WooCommerce export or a supplier CSV?

**

Yes. Rules work with products once the source has been loaded, so the supplier feed format doesn’t matter.

**

### Can Google have different rules from PriceRunner?

**

Yes. The chain belongs to the output, so each channel has its own rules.

**

### Can I describe a rule in a sentence?

**

Yes, via [AI Copilot](https://sortyra.com/ai-copilot). The sentence becomes a regular rule, which you see with its impact before saving.

## You might also be interested in

- Guide [Rules: how they work](https://sortyra.com/knowledge-base/feed-rules-bulk-editing)
- Guide [Rule recipes – examples](https://sortyra.com/knowledge-base/feed-rule-recipes-examples)
- Guide [Manual edits and locked fields](https://sortyra.com/knowledge-base/manual-edits-locked-fields)
- Guide [Fields and values](https://sortyra.com/knowledge-base/feed-fields-and-values)
- Term [Feed rule](https://sortyra.com/glossary/feed-rule-conditions-actions)
- Term [Locked field](https://sortyra.com/glossary/locked-field-manual-override)
- Term [Value mapping table](https://sortyra.com/glossary/value-mapping-table-feed)
- Term [Margin](https://sortyra.com/glossary/margin-vs-markup-calculation)

## Your first output feed can be ready today.

7 days free, no credit card. We'll set up your first feed together on a free 15-minute online call.

[Try it free](https://app.sortyra.com/registracia?lang=en) [Book a 15-min call](https://sortyra.com/contact)
