enable_auto_discounts

The enable_auto_discounts element allows you to enable automatic calculation and display of discounts for all store offers (from one price list).

Attention. Be sure to specify the enable_auto_discounts element prior to the list of offers. Otherwise, discounts will not be displayed automatically.
Possible values:
  • yes, true, 1 — display of discounts is enabled.
  • no, false, 0 — display of discounts is disabled.
Tip. To control 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.
  1. How this works
  2. Requirements
  3. Calculation of the old price (without discount)
  4. Interaction with element oldprice
  5. Changing offers and price history
  6. Example

How this works

If you enabled the display of discounts, Yandex.Market will do the following across all offers:

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

Requirements

Note. These requirements are only applicable to products with profiles.

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

  1. Calculates the maximum price, i.e., a value your price didn't fall below for at least 5 days in a row:

    • 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 clicks on highly priced offers, i.e., those with the price not lower 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.

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 product was on sale at the old price (or higher) for at least 5 days in a row:
    • 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.
Maximum price
Note. These requirements are only applicable to products with profiles.

Yandex.Market checks that you have not overpriced the product recently. To do this, it:

  1. Calculates the maximum price, i.e., a value your price didn't fall below for at least 5 days in a row:

    • 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 clicks on highly priced offers, i.e., those with the price not lower 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:

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.

Example

<shop>
  <name>BestSeller</name>
  <company>Tne Best inc.</company>
  <url>http://best.seller.ru</url>
  <enable_auto_discounts>yes</enable_auto_discounts>
  ...
  <offers>
    ...     
  </offers>
</shop>