cpa

The cpa element helps you to more exactly configure how your offers participate in the “Yandex.Market Quick Order” program.

All of your store's offers that are registered participate by default (when you do not use the cpa element) in the “Yandex.Market Quick Order” program. If you would like to exclude certain offers from participating in the program, then you need to use the cpa element.

How to use the element in the XLS and CSV formats

This element can take the following values:

  • 0 — the product does not participate in the “Yandex.Market Quick Order” program.
  • 1 — the product participates in the “Yandex.Market Quick Order” program.

If the element is not specified, then the value is automatically equal to 1 (in other words, offers that do not include the cpa element participate in the program).

If a different value is specified, it is automatically assumed to be 0 (if, for example, the cpa element for an offer is assigned a value of 3, then this offer will not participate in the program).

How to use the element in YML format

You can use the cpa element in the shop and offer elements.

The cpa element values in the shop element:
  • 0 — all products on the price list do not participate in the “Yandex.Market Quick Order” program.

  • 1 — all products on the price list participate in the “Yandex.Market Quick Order” program.

Example
<shop> 
    ...
    <cpa>0</cpa>
    <offers> ... </offers> 
</shop> 
The cpa element values in the offer element:
  • 0 — the product does not participate in the “Yandex.Market Quick Order” program

  • 1 — the product participates in the “Yandex.Market Quick Order” program.

Example
<offer id="12346" available="true" bid="80"> 
    ...
    <cpa>0</cpa> 
</offer>

If the element is not specified, then the value is automatically equal to 1 (for example, the offer without the cpa element participates in the program).

If a different value is specified, it is automatically assumed to be 0 (if, for example, the cpa element in offer is assigned a value of 3, then this offer will not participate in the program).

Priority of the cpa element in the YML file

Insofar as the cpa element can be embedded in the shop and offer elements at the same time, the element values have the same priority. This must be considered when using the cpa element in YML format:

How to exclude several offers from the “Yandex.Market Quick Order program”

Add a cpa element that is equal to 0 to the corresponding offer elements.

Example
<offers>
  <offer id="12345" available="true" bid="80"> 
    <price>600</price> 
    ...
    <cpa>0</cpa> 
  </offer>
  <offer id="12346" available="true" bid="80"> 
    <price>700</price> 
    ...
    <cpa>0</cpa> 
  </offer>
</offers> 

How to exclude one file from the “Yandex.Market Quick Order” program if there are several of them

Add a cpa element that is equal to 0 in the shop element in the required YML file. In this case all of the products on the price list will be withdrawn from the “Yandex.Market Quick Order” program.

Example
<shop> 
    <name>BestShop</name> 
    <company>Best online seller Inc.</company> 
    ...
    <cpa>0</cpa>
    <offers> ... </offers> 
</shop> 

The cpa element and special conditions

Products with the “custom” status

Products with the “custom” status do not participate in the program. The Add to Cart button will not be displayed for this product even if the cpa element is assigned the value 1. The Go to Store button will be shown for “custom” products in all regions. (The buyer is able to go to the store and order the product in question on the store's website).

Products that are not allowed to be sold remotely

Products that are legally prohibited from being sold remotely (jewelry and medication) are not allowed to participate in the “Yandex.Market Quick Order” program. For these products the cpa element should always have the value "0".

Products with a price that is less than the minimum order amount

If the store has a minimum order amount, products with a price below this amount cannot participate in the “Yandex.Market Quick Order ” program. For all of these products you must indicate:

  • the value "0" in the cpa element

  • the minimum order amount in the sales_notes element.

Otherwise the store may be removed from the program.