Skip to content

Instantly share code, notes, and snippets.

@dmitriynet
Last active April 22, 2024 14:34
Show Gist options
  • Save dmitriynet/1736dfc98bb660261ec6b9b8d6586beb to your computer and use it in GitHub Desktop.
Save dmitriynet/1736dfc98bb660261ec6b9b8d6586beb to your computer and use it in GitHub Desktop.
Price compare E-Katalog/E-Catalog Polska/US/UK/Ukraine integration file structure

XML File structure for price comparison engine E-Katalog/E-Catalog.

This structure work with: E-Katalog Ukraine, E-Katalog Polska, E-Katalog USA, E-Katalog UK

<?xml version="1.0" encoding="utf-8"?>
<xml_catalog>
    <shop>
        <name>...</name>
        <url>...</url>
        <currencies>
            <currency id="USD" rate="35"/>
            <currency id="UAH" rate="1"/>
        </currencies>
        <catalog>
            <category id="...">...</category>
            <category id="..." parentId="...">...</category>
        </catalog>
        <offers>
            <offer id="...">
                <name>...</name>
                <url>...</url>
                <price>...</price>
                <categoryId>...</categoryId>
                <brand>...</brand>
                <image>...</image>
                <description>...</description>
            </offer>
            <offer id="...">
                <name>...</name>
                <url>...</url>
                <price>...</price>
                <categoryId>...</categoryId>
                <brand>...</brand>
                <image>...</image>
                <description>...</description>
            </offer>
        </offers>
    </shop>
</xml_catalog>

This price comparison also allows Google Feed and Other formats but next fields are required: vendor, model, category, price, product_image_url, product_url, description, available

Also neccessary and very desirable: mpn, ean

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment