↑↓ selectEnter openEsc close

    1. Elbuz
    2. Export and marketplaces
    3. Feeds and marketplaces

    How to calculate a separate Prom price with the category commission

    5 min readUpdated

    Elbuz calculates a separate Prom price: it adds the product category's Prom commission rate to the “Prom price” field. That field goes to the Prom feed; your site and other marketplaces get their own price.

    When you need this:

    • Dozens of category percentages in the Prom formula — one placeholder takes each category's rate from the directory.
    • Prom changed rates — we update the directory; reapply the formula.
    • Commission on Prom only — your site and other templates don't see it.
    • Full price after commission — at 12.58%, UAH 3,296 becomes UAH 3,771.

    Where to start: “Product field formulas” → “Add formula” → “Create a new field”.

    What the Prom price with commission can do

    “Product field formulas” window with the “Prom price” formula selected
    1“Prom price” row
    2Formula
    3Apply this formula
    4Activity toggle
    1. Your own field for the Prom price.
    2. Price that leaves your regular price after Prom’s commission.
    3. Recalculate the field with this formula.
    4. The formula takes part in recalculations.

    Where the program gets the category rate

    The rate comes from the Prom rate directory, through the link between your category and a Prom category. We fill the directory from Prom's official table “Ставки Prom — Споживчі категорії” (Prom rates for consumer categories). You can't change a rate manually: the formula gets the rate Prom actually charges.

    PlaceholderWhat it inserts
    {PROM_RATE_ECONOM}“Economy” mode rate, %
    {PROM_RATE_UNIFIED}“Standard” mode rate, %
    {PROM_RATE_MORE_SALES}“More sales” mode rate, %
    {PROM_RATE_TURBO}“Turbo” mode rate, %
    {PROM_TURBO_CLICK}click fee in “Turbo” ad blocks, UAH

    Rates come in as a number of percent: 12.58% arrives in the formula as 12.58. That's why the formula divides the rate by 100.

    The placeholder returns 0 in three cases:

    • the product's main category isn't linked to a Prom category;
    • Prom's table has no rate for that category, which happens with services and some other categories;
    • the product is in the linked category only as an additional one. The rate is taken only from the main category in the product card.

    A zero doesn't break the formula: “Prom price” comes out without the commission. So first link categories to leaf Prom categories in the “Marketplace category and attribute matching” window (how to link a category). Under each linked category, a badge shows its rates: “Prom commission: Economy 5.42% · Standard 10.83% · More sales 13.54% · Turbo 16.25%”.

    How to create the “Prom price” field and its formula

    You create the field and the formula in one window, “Product field formulas”.

    1. Click “Add formula”. At the bottom of the field list, click “Create a new field”.
    2. In the “Adding a field” window, enter “Prom price” in “Field name” and choose “Price” in “Field type”. Click “OK”. The program adds the field to the catalog and a formula row to the list, with “Active” already on.
    3. Type the formula in the editor on the right (which one to choose). Insert the rate placeholder with the “Fields for formulas” button: the “Macros” group, the “Prom commission of the product category” row. A double-click inserts {PROM_RATE_UNIFIED}; for another mode, change the name using the table.
    4. Click “Apply this formula”. After the “Formulas applied” message, the values appear in the “Prom price” column of the product catalog.

    The formula saves automatically, and there's no “Save” button. Other moments when the formula runs, such as price list loading, saving a product card or an import, are described in the article on catalog field formulas.

    The “Price” type is needed for rounding: the result follows your account's price rounding, up or down to whole hryvnias or kopecks (how to round a price). The type can't be changed after the field is created; other field settings are in “Grid configuration” (field settings).

    Write the commission formula into a separate field, never into “Price”. The formula overwrites the field, so the price with commission would go to your site and to every template. Each new application adds the commission again, and the program doesn't keep the previous values.

    “Fields for formulas” panel with the “Prom commission of the product category” macro and its description
    1Prom commission macro
    2Placeholder list
    1. Double click inserts the “Standard” rate into the formula.
    2. Five placeholders: four Prom modes in percent and the Turbo click fee in UAH.

    Which formula to choose: commission on top or the full amount to you

    Prom charges its commission on the selling price. So a percentage added on top doesn't fully come back to you. To keep your price after the commission, divide the price by the share that stays with you.

    A product at UAH 3,296, “Standard” category rate 12.58%
    Goal“Prom price” field formulaProm priceLeft after commission
    Add the commission on top{Product: Price} * (1 + {PROM_RATE_UNIFIED} / 100)UAH 3,711UAH 3,244.16
    Receive the full price{Product: Price} / (1 - {PROM_RATE_UNIFIED} / 100)UAH 3,771UAH 3,296.61
    “Turbo” mode with the click feeROUND({Product: Price} / (1 - {PROM_RATE_TURBO} / 100), 0) + {PROM_TURBO_CLICK}UAH 4,065UAH 3,296.40 after an 18.87% rate and a UAH 1.53 click fee

    The program calculated the prices in the table on a demo product with “Round up” enabled. Without rounding, the first row gives UAH 3,710.64 and the second UAH 3,770.31.

    The field name in the placeholder depends on the interface language: in English it's {Product: Price}, in Ukrainian {Товар БК: Ціна}, in Russian {Товар БК: Цена}. The easiest way is to insert the field by double-clicking it in the “Fields for formulas” list (why the language matters).

    If “Price” itself is calculated by a formula, give the “Prom price” formula a higher “Sort order”. Then the commission is calculated from the already updated price.

    How to send “Prom price” to the Prom export

    By default, the Prom template takes the regular price. Replace the price placeholder in it with the “Prom price” field.

    XML template

    1. Open the Prom template card in the “Data export” window, go to the “Select data to export” tab and find the “XML template” block.
    2. Replace the line <price>{price}</price> with <price>{Product: Prom price}</price>. Changes save automatically, and “All changes saved” appears at the bottom of the card.
    3. Click the test export button (the flask), enter a “Product ID” from a linked category and click “Check”. The price line should show the price from the “Prom price” field.

    If the template uses a price and oldprice pair for a sale price, replace {price} in both formulas of the pair (sale price on Prom).

    XML template of the Prom export with the price line using the “Prom price” field
    1Price line
    1. The Prom feed price tag takes the “Prom price” field instead of the regular price.
    Export template check window for product 5366 showing the feed offer with the Prom price
    1Product ID 5366
    2Price line with 3258
    1. A product from a category linked to Prom.
    2. The feed gets the price with commission: 3258 instead of 2848.

    XLSX template

    On the “Select fields” tab, find the row of the price column and enter {Product: Prom price} in its “Formula” cell. The formula overrides the row's field, so the price column gets “Prom price” (where column values come from).

    Your site and the templates of other marketplaces keep using their own price fields: editing the Prom template doesn't affect them.

    Prom rate placeholders work only in catalog field formulas. Export templates don't have them, so the field calculates the commission and the template only takes its value.

    What to do when Prom changes its rates

    We update the rate directory from Prom's table, in all accounts at once. After the update, the badge in the matching window shows the new rates.

    The value in “Prom price” changes at the next formula recalculation. Click “Apply formulas” in the “Product field formulas” window, or wait for the automatic recalculation if it's enabled (when a formula runs). After that, the Prom feed gets the new prices with the next export.

    Scenarios

    I want to receive the same amount on Prom as on my site

    What to do. Link your categories to Prom, create a “Prom price” field with the division formula from the formula table, apply it and replace the price in the Prom template.

    What you get. At 12.58%, Prom lists the UAH 3,296 item at UAH 3,771. You keep UAH 3,296.61, and the website still shows UAH 3,296.

    Adding the commission percentage on top is enough

    What to do. In “Prom price”, use the multiplication formula from the formula table.

    What you get. The Prom price is higher than the site price by exactly the rate. After the commission you keep a little less than the site price: UAH 3,244.16 out of UAH 3,296 in the example above.

    I work in “Turbo” mode

    What to do. Take the “Turbo” formula for “Prom price” from the formula table.

    What you get. The price includes the category's “Turbo” rate and the fee for one click from an ad block.

    I want to see how much Prom takes

    What to do. Create a second field, “Prom commission”, of the “Price” type with the formula {Product: Prom price} * {PROM_RATE_UNIFIED} / 100. Give it a higher “Sort order” than the “Prom price” formula.

    What you get. The catalog shows two columns side by side: the Prom price and the commission on it. You can filter and sort products by that column.

    What to do when the Prom price is wrong

    What you seeWhyWhat to do
    “Prom price” equals “Price” No Prom category is linked to the product's main category, or Prom's table has no rate for it. Additional categories don't provide a rate Link the main category to a leaf Prom category and apply the formula again (when the rate is 0)
    “Prom price” is empty or 0 The formula hasn't been applied yet, or the product's “Price” is 0 Click “Apply this formula” and check the product's “Price” (how to create the field)
    The “Formula errors” window: “Formula skipped: field “Prom price” …” A typo in a placeholder or field name, or an unclosed bracket. The other formulas were applied Insert the field and the placeholder by double-clicking them in the “Fields for formulas” list (formula examples)
    The Prom feed has the regular price The Prom template still has the {price} placeholder Replace it with {Product: Prom price} and check with a test export (how)
    The badge shows the new rate, but “Prom price” is old The field is recalculated only when the formula is applied Click “Apply formulas” (rate updates)

    FAQ

    Can I enter my own Prom commission rate?

    No. The rate comes from the directory, based on the Prom category your category is linked to. If you need a different rate, link the category to another Prom category or type a number into the formula instead of the placeholder.

    Which rate does the formula use for a product in several categories?

    The rate of the main category from the product card. Additional categories don't affect the rate.

    Will the price on my site change?

    No, as long as the formula writes to the separate “Prom price” field. Your site and other templates use their own price fields.

    Can I calculate the commission right in the export template?

    No. Prom rates are available only in catalog field formulas, and the template takes the ready “Prom price” field.

    What is the “Turbo” click fee?

    It's the amount in hryvnias that Prom charges when a buyer clicks through from an ad block in “Turbo” mode. The {PROM_TURBO_CLICK} placeholder adds it to the price in hryvnias.

    Where to find it and who has access

    Menu
    Directories → Base product catalog → Products → menu → “Set up formulas for fields”
    Prom template
    Directories → Operations → Data export → Prom template card
    Category rates
    Directories → Categories → the “Marketplace mapping” tile, Prom marketplace
    Access right
    the “Product field formulas” and “Export template setup” windows in “Group permissions”
    Prepare
    categories linked to leaf Prom categories; a Prom export template

    Related topics

    Was this article helpful?

    Missing a feature? Tell us.

    We will add it for free if other users need it too.

    If only you need it, we will agree on it separately.

    Article contents

    Suggest an improvement

    Try Elbuz free