• Resolved melvad

    (@melvad)


    Hi, I noticed an error in the Yandex feed template

    This is the result of feed generation

    <products>
    	<product>
    		<id>250214</id>
    		<title>Chair “Gothic”</title>
    		<description>Chair "Gothic" on a metal frame from the manufacturer. Withstands up to 200 kg.! Choice of frame and eco-leather color. Inexpensive.</description>
    		<link>
    		<![CDATA[ https://example.com/catalog/chairs-and-armchairs/metal-frame-chairs/chair-gothic ]]>
    		</link>
    		<image_link>
    		<![CDATA[ https://example.com/wp-content/uploads/2022/06/chair-gothic.jpg ]]>
    		</image_link>
    		<price>2400</price>
    		<categories>Chairs and armchairs > Metal frame chairs</categories>
    	</product>
    	..........
    </products>

    This is valid template

    <?xml version="1.0" encoding="UTF-8"?>
    <yml_catalog date="YYYY-MM-DD hh:mm">
     <shop>
      <name>Yandex Market</name>
      <company>Yandex</company>
      <url>https://market.yandex.ru/</url>
      <currencies>
       <currency id="RUB" rate="1"/>
      </currencies>
      <categories>
       <category id="90401">Все товары</category>
       <category id="198118" parentId="90401">Бытовая техника</category>
       <category id="198119" parentId="90401">Электроника</category>
       ...
      </categories>
      <offers>
       <offer id="..." available="true">
        <name>...</name>
        <price>...</price>
        <currencyId>RUB</currencyId>
        <categoryId>...</categoryId>
        <picture>...</picture>
        <url>...</url>
        <group_id>...</group_id>
        <vendor>...</vendor>
        <oldprice>...</oldprice>
        <description>...</description>
        <barcode>...</barcode>
        ...
        <barcode>...</barcode>
        <param name="...">...</param>
        ...
        <param name="...">...</param>
       </offer>
       ...
      </offers>
     </shop>
    </yml_catalog>

    https://yandex.ru/support/market-distr/product-feed.html

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support ansarybadal

    (@ansarybadal)

    Hello @melvad

    Thanks for reaching us.

    Here you can see the template that we are offering in our plugin for Yandex, which matches the valid template you have provided.

    So, please, make sure you are using the latest version of our plugin. However, if you are using the latest version but still getting the wrong format, please, reach us again from here, as we may have to inspect the issue from the backend.

    Best regards.

    Thread Starter melvad

    (@melvad)

    Hello

    Version : 5.4.30

    The problem is actual.

    XML is output in the wrong format.

    I’m using the regular non-PRO version.

    Plugin Support ansarybadal

    (@ansarybadal)

    Hi @melvad

    Thanks for reporting the error.

    Can you please share the correct reference format so we can crossmatch is with our current format that we are offering in our plugin?

    Best regards,

    Thread Starter melvad

    (@melvad)

    Hi

    Official documentation https://yandex.ru/support/market-distr/product-feed.html

    <?xml version="1.0" encoding="UTF-8"?>
    <yml_catalog date="YYYY-MM-DD hh:mm">
     <shop>
      <name>Yandex Market</name>
      <company>Yandex</company>
      <url>https://market.yandex.ru/</url>
      <currencies>
       <currency id="RUB" rate="1"/>
      </currencies>
      <categories>
       <category id="90401">Все товары</category>
       <category id="198118" parentId="90401">Бытовая техника</category>
       <category id="198119" parentId="90401">Электроника</category>
       ...
      </categories>
      <offers>
       <offer id="..." available="true">
        <name>...</name>
        <price>...</price>
        <currencyId>RUB</currencyId>
        <categoryId>...</categoryId>
        <picture>...</picture>
        <url>...</url>
        <group_id>...</group_id>
        <vendor>...</vendor>
        <oldprice>...</oldprice>
        <description>...</description>
        <barcode>...</barcode>
        ...
        <barcode>...</barcode>
        <param name="...">...</param>
        ...
        <param name="...">...</param>
       </offer>
       ...
      </offers>
     </shop>
    </yml_catalog>
    Plugin Support ansarybadal

    (@ansarybadal)

    Hi @melvad

    Thanks for sharing the documentation.

    We will recheck our template and will make necessary changes if requried.

    Best regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Yandex XML not valid template’ is closed to new replies.