Special price for a limited time
In the price list, specify the discount on the item and the time period when the promotion is valid.
- For 60 days in the “Clothing, shoes and accessories” category.
- For 30 days in all other categories.
If this is not the case, the offer is displayed without the promotion.
Structure
<promos>
<promo id="promo ID" type="flash discount">
<start-date>promo start date</start-date>
<end-date>promo end date</end-date>
<description>summary</description>
<url>promo on the store's site</url>
<purchase>
<product offer-id="ID of the promo item">
<discount-price currency="currency">new price</discount-price>
</product>
...
</purchase>
</promo>
</promos>
Attributes and elements
Element/attribute | Description | Required |
---|---|---|
Attribute id | ID of the promotion. Must be unique for the entire price list. It may contain only numbers and Latin letters. The maximum length of id is 20 characters.Attention. Each offer can only participate in one promotion. | Required |
Attribute type | Type of promo — | Required |
start-date | Date and time when the promo starts. Allowed formats: The date and time are the same for all time zones. Example The store sells products in Moscow and delivers to Yekaterinburg; date and time of the promo: from 10 AM on March 8 to 10 AM on March 9. For users in Moscow, the promo will run from 10 AM on March 8 to 10 AM on March 9 (Moscow time). For users from Yekaterinburg, it will be from 10 AM on March 8 to 10 AM on March 9 in the Ural time zone. The maximum duration of a promo is 7 days. | Required |
end-date | Date and time the promotion ends. Allowed formats: The date and time are the same for all time zones (see the example above). The maximum duration of a promo is 7 days. | Required |
description | Brief description of the promo in Russian. Maximum of 500 characters. You can use XHTML markup, but only as a | Optional |
url | Link to the promotion description on the store's website. | Optional |
purchase | Information about items participating in the promotion. | Required |
product | Items that the promotion applies to. Specify their IDs in the Attention. Categories cannot participate in the promotion (only individual items can participate). Each | Required |
discount-price | The price during the promotion. Specify the currency in the | Required |
Element/attribute | Description | Required |
---|---|---|
Attribute id | ID of the promotion. Must be unique for the entire price list. It may contain only numbers and Latin letters. The maximum length of id is 20 characters.Attention. Each offer can only participate in one promotion. | Required |
Attribute type | Type of promo — | Required |
start-date | Date and time when the promo starts. Allowed formats: The date and time are the same for all time zones. Example The store sells products in Moscow and delivers to Yekaterinburg; date and time of the promo: from 10 AM on March 8 to 10 AM on March 9. For users in Moscow, the promo will run from 10 AM on March 8 to 10 AM on March 9 (Moscow time). For users from Yekaterinburg, it will be from 10 AM on March 8 to 10 AM on March 9 in the Ural time zone. The maximum duration of a promo is 7 days. | Required |
end-date | Date and time the promotion ends. Allowed formats: The date and time are the same for all time zones (see the example above). The maximum duration of a promo is 7 days. | Required |
description | Brief description of the promo in Russian. Maximum of 500 characters. You can use XHTML markup, but only as a | Optional |
url | Link to the promotion description on the store's website. | Optional |
purchase | Information about items participating in the promotion. | Required |
product | Items that the promotion applies to. Specify their IDs in the Attention. Categories cannot participate in the promotion (only individual items can participate). Each | Required |
discount-price | The price during the promotion. Specify the currency in the | Required |
Example
Special price in February:
<promo id="Promo2" type="flash discount">
<start-date>2018-02-01 00:00:00</start-date>
<end-date>2018-02-07 00:00:00</end-date>
<description>Скидка на старую коллекцию.</description>
<url>http://best.seller.ru/promos/2</url>
<purchase>
<product offer-id="77">
<discount-price currency="RUR">300</discount-price>
</product>
<product offer-id="88">
<discount-price currency="RUR">501</discount-price>
</product>
</purchase>
</promo>