Offer <offers>

A collection of data related to Russia's statistics.
Post Reply
Maksudasm
Posts: 820
Joined: Thu Jan 02, 2025 6:47 am

Offer <offers>

Post by Maksudasm »

The <offers> element contains data on all products presented in the store. Each item is described by a separate nested <offer> element.

For product management files, <offer> elements should include product characteristics (name, description, manufacturer), and for files specifying placement parameters, information about prices, discounts, availability, etc.

In <shop>, you need to add the id attribute, which specifies the personal identifier of the product (SKU). The role of SKU is often played by the article. SKU should contain no more than 80 characters. It is allowed to use English and Russian (except ё) letters, numbers and symbols . , ? ( ) [ ] — =.

Categories <categories>
Used only in files that manage products. It chinese student data package is located inside the <shop> element. It is used to indicate product categories. For example, a T-shirt belongs to "Clothing", etc.

Online shopping

Source: unsplash.com

Categories are distinguished from each other by a unique identifier specified via the id attribute. It can contain up to 18 digits. There is also a parentId attribute that allows one category to be related to another (for example, "Women's clothing" to "Clothing").

In the file it looks like this:

<categories> <category id="1">
Pet Products
</category> <category id="2" parentId="1">Cats</category> <
category id="3" parentId="1">Dogs</category>
<category id="4">Cat Food </category>
<category id="5" parentId="4">Dry</category>
<category id="6">Harnesses and Equipment</category>
<category id="7">Toys</category>
</categories>

Markup

Copy

Delivery options <delivery‑options>
This element is required if the file controls the placement. It characterizes the delivery process. Individual parameters are specified through the <options> elements. The file can contain 5 <options>, each of which defines a specific delivery option. The following attributes are used to specify the delivery parameters:

cost – this attribute is needed for control, it does not contain any information and is not displayed in the product card. Here it is enough to enter any integer.

days – this attribute specifies the number of days required for delivery. It has values ​​from 0 (delivery on the same day) to 60. Without this attribute, the product will not be available through the catalog – Yandex always requires that the delivery time be specified.

order - before – an optional attribute for specifying the hour after which the order will be processed the next day. Integer numbers from 0 to 24 are allowed here. If this parameter is missing, the service will consider it equal to 13.

If you don't understand anything, don't worry. Here's an example YML file to explain:

<delivery‑options>
<option cost="123" days="7" order‑before="15"/>
<option cost="123" days="3" order‑before="12"/>
</delivery ‑options>

Markup

Copy

So we described two delivery methods. In the first case, you need to order the goods before 15:00, so that they are sent before the end of the day, and the transportation takes 7 working days, and in the second case, you need to make the purchase before 12:00, and the transportation will take 3 days.

The <delivery-options> element can be part of <shop>, in which case it includes the delivery options for the entire store. If it is part of <offer>, it is tied to a single product.

Download a free selection of tools for calculating KPIs and increasing marketing metrics
Alexander Kuleshov
Alexander Kuleshov
General Director of Sales Generator LLC
Read more posts on my personal blog:

Over the past 7 years, we have conducted over 23,000 comprehensive website audits and I have learned that all of us as leaders need clear and working algorithms for our marketing and sales.

Today we will share with you 6 of the most valuable documents that we have developed for our clients.

Download for free and implement today:


Step-by-step guide to creating marketing KPIs
Template for calculating KPIs for a marketer

9 Examples of Universal Selling Commercial Proposals
Upgrade your CPs to close more deals

How to make KPI for the sales department so that profits grow by 20% or more?
Step-by-step template for calculating KPIs for OP managers

Checklist of 12 main indicators for website promotion
Find out what metrics are needed to properly optimize your website

40 Services for Working with Blog Content
We have collected the best services for working with content

How to define your target audience without mistakes?
A proven guide to defining a company's target audience
Download the collection for free
Post Reply