enable_auto_discounts

The enable_auto_discounts element allows you to enable and disable automatic calculation and display of discounts for individual offers, as well as simultaneously for all offers from a single price list.

  • To simultaneously manage the display of discounts for all offers in a single price list, specify the enable_auto_discounts element in the shop element (before the list of offers ["offers"]).

  • To manage the display of discounts for individual offers, use the enable_auto_discounts element in the offer element.

For example, you can enable the display of discounts for the entire price list, but disable it for individual offers.

Possible values:
  • yes, true, 1 — display of discounts is enabled.
  • no, false, 0 — display of discounts is disabled.
Note. Reduced-price products are always shown without discounts.
  1. Example for an offer (offer)
  2. Example for the price list (shop)
  3. How this works
  4. Requirements
  5. Calculation of the old price (without discount)
  6. Interaction with element oldprice
  7. Changing offers and price history

Example for an offer (offer)

  1. From May 1 through May 10, your product cost 26,000 rubles, and for the rest of the time until the end of the month it cost 24,000 rubles.
  2. You enabled automatic calculation and display of discounts:
    <offer>
        <!-- элементы, входящие в offer -->
        <price>24000</price>
        <oldprice>26000</oldprice>
        <enable_auto_discounts>yes</enable_auto_discounts>
    </offer>
  3. Yandex.Market calculated the maximum price (for the past 30 days) at which all conditions are met, being 26,000 rubles.
  4. Now the product costs 24,000 rubles, so the discount is 8% off the old price.
  5. On Yandex.Market, the user will see an offer that:
    • Has a discount icon.
    • Had the old price equal to 26,000 rubles.;
    • Has an 8% discount.
    • Is currently priced at 24,000 rubles.

Example for the price list (shop)

<shop>
    <!-- элементы, входящие в shop -->
    <name>BestSeller</name>
    <company>Tne Best inc.</company>
    <url>http://best.seller.ru</url>
    <enable_auto_discounts>yes</enable_auto_discounts>
    <offers>
        <!-- список предложений магазина -->
    </offers>
    <gifts>
        <!-- подарки не из прайс‑листа -->
    </gifts>
    <promos>
        <!-- промоакции -->
    </promos>
</shop>

How this works

If you enabled the display of discounts, Yandex.Market:

  1. Analyzes how your prices have changed recently.
  2. Checks if there are any prices with all conditions met. If not, offers are displayed without any discount.
  3. Calculates discounts off these prices.
  4. Shows the calculated prices and discounts.

Requirements

Note. The requirements are only relevant for categories with product profiles.

An offer may only qualify for a discount if you haven't overpriced you products recently. To check this, Yandex.Market:

  1. Identifies the maximum pricethat was maintained for at least five consecutive days:

    • For the past 60 days, in the “Одежда, обувь и аксессуары (Clothing, shoes and accessories)” category.
    • For the past 30 days, in all other categories.
    • For the entire placement period, if the product has been placed for less than 30 (60) days.
  2. Counts the clicks on high-price offers, i.e., those with a price equal to or greater than your maximum price.

  3. Checks that you didn't overcharge your customers. The offer is validated if at least one of the following conditions is met:

    • Clicks on highly priced offers make up at least 5% of the clicks on all offers.
    • Clicks on highly priced offers have been sufficient for purchase. Yandex.Market estimates the amount needed based on the data on average conversion in the category and number of clicks on all offers.
Note. The offer may again qualify for a discount when the maximum old price changes and all conditions are met. Yandex.Market recalculates the price once per day.

Calculation of the old price (without discount)

Yandex.Market selects the maximum price at which all the requirements are met:

General requirements
  • The old price is higher than the current one.
  • Percentage discount is at least 5% and no more than 95%. The percentage is rounded to an integer.
  • The discount is in the currency in which the product price is listed and is not less than 1 unit.
  • The product was on sale at the old price (or at a higher price) for at least 5 consecutive days within the past 30 days.
Maximum price

Yandex.Market checks that you haven't overpriced the product recently. To do this, it:

  1. Calculates the maximum pricethat was maintained for at least five consecutive days over the past 30 days.
  2. Counts clicks on offers with high prices, i.e., those with a price equal to or higher than your maximum price.

  3. Checks that you didn't overcharge your customers. The offer is validated if at least one of the following conditions is met:

    • Clicks on highly priced offers make up at least 5% of the clicks on all offers.
    • Clicks on highly priced offers have been sufficient for purchase. Yandex.Market estimates the amount needed based on the data on average conversion in the category and number of clicks on all offers.
Attention. The offer may again qualify for a discount when the maximum old price changes and all conditions are met. Yandex.Market recalculates the price once per day.
Current price and history
Note. These requirements are only applicable to products with profiles.

The offer is validated if at least one of the following conditions is met:

  • The offer is not among the 10% most expensive offers on the product profile.
  • Over the past 30 days, the offer got at least 10% from clicks on the most popular offer on the product profile.
  • Over the past 30 days, the offer got sufficient clicks to get a purchase in this category. Yandex.Market estimates the clicks needed based on the data on average conversion and average clicks in the category.
Discount
Note. These requirements are only applicable to products with profiles.

The discount should be appealing to the customer. How Yandex.Market evaluates this:

  1. It adds up clicks accumulated by all offers on the product profile for the past 30 days (total number of clicks).
  2. It counts clicks on offers priced in the range from your old to your new price (clicks within the discount range).

If clicks within the discount range make up at least 5% of the total, the discount is considered appealing.

Interaction with element oldprice

If you specified the old price in the oldprice element and enabled auto display of discounts, Yandex.Market checks if all the requirements for oldprice are met.

  • If yes, the old price from oldprice and a discount off this price are displayed.
  • If not, the automatically calculated price and a discount off it are displayed.

Changing offers and price history

Yandex.Market considers an offer to be new and resets the price history if you changed:

  • id The offer.
  • The name of the offer.
Note. The offer may again qualify for a discount in 5 days if all the requirements are met.

Changes in the title that don't affect the meaning are ignored. The history won't be reset if you:

  • Add or remove spaces. For example, there is no difference between:

    iPhone8 64Gb и iPhone 8 64 Gb
  • Change the case. For example, there is no difference between:

    Apple iPhone 8 64 Gb и apple iphone 8 64 gb.
  • Add or remove punctuation marks (a period, comma, semicolon, colon, hyphen, quotation marks, or parentheses). For example, there is no difference between:

    iPhone 8, 64 Gb, "Gold" и iPhone 8 64 Gb Gold.