• Resolved gostomek

    (@gostomek)


    How can I mapped categories if my supplier has in XML file like this:

    <categories>
    <category level="0">
    <![CDATA[Sztućce]]>
    </category>
    <category level="1">
    <![CDATA[Sztućce Fine Dine]]>
    </category>
    <category level="2">
    <![CDATA[Amarone Gold]]>
    </category>
    <category level="1">
    <![CDATA[Sztućce wg zastosowań]]>
    </category>
    <category level="2">
    <![CDATA[Noże stołowe]]>
    </category>
    <category level="1">
    <![CDATA[Marki]]>
    </category>
    <category level="2">
    <![CDATA[Fine Dine]]>
    </category>
    <category level="1">
    <![CDATA[Sztućce kolorowe PVD]]>
    </category>
    <category level="2">
    <![CDATA[Sztućce złote]]>
    </category>
    <category level="1">
    <![CDATA[Sztućce wg materiału]]>
    </category>
    <category level="2">
    <![CDATA[Stal nierdzewna 18/10]]>
    </category>
    <category level="0">
    <![CDATA[ZASTAWA STOŁOWA]]>
    </category>
    <category level="1">
    <![CDATA[Sztućce]]>
    </category>
    <category level="2">
    <![CDATA[Noże]]>
    </category>
    </categories>

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support dominikl65

    (@dominikl65)

    Hi,

    I would like to ask what effect you would like to achieve on the site, what would these categories look like? Would it be a category tree based on the principle:
    Level1 → Level2 → Level3? Or in some other way?

    In the uploaded file, there are a number of category trees that have a structure with the same level.

    Thread Starter gostomek

    (@gostomek)

    Hi,

    I mean that will be good to automatically made categories like:
    level 0->level 1->level 2
    Sztućce -> Sztućce Fine Dine -> Amarone Gold
    level 1->level 2
    Sztućce wg zastosowań -> Noże stołowe
    level 1->level 2
    Marki -> Fine Dine
    level 1->level 2
    Sztućce kolorowe PVD -> Sztućce złote
    level 1->level 2
    Sztućce wg materiału – > Stal nierdzewna 18/10
    level 0->level 1->level 2
    ZASTAWA STOŁOWA ->Sztućce -> Noże

    Plugin Support dominikl65

    (@dominikl65)

    Hi,

    I have consulted with the developer and unfortunately, based on the kind of file structure you uploaded, this is unfortunately not feasible. I would recommend contacting the wholesaler to correct/change the structure in the XML file.

    Thread Starter gostomek

    (@gostomek)

    Hi,

    ok I understand it is mot possbile to get all.

    Maybe it will be ok to handle it only first lines:

    level 0->level 1->level 2
    Sztućce -> Sztućce Fine Dine -> Amarone Gold

    Plugin Support dominikl65

    (@dominikl65)

    Hi,

    Unfortunately, this will not be possible due to this file structure. I would recommend contacting the wholesaler to correct the file structure – unfortunately, without this, it will not be possible to import the category tree as you would like to realize.

    Thread Starter gostomek

    (@gostomek)

    Dear @dominikl65,

    so could you please provide example how the structure of categories should be?

    Plugin Support dominikl65

    (@dominikl65)

    Hi gostomek,

    If you want to use and create a category tree, then this structure would be appropriate: https://monosnap.com/file/1WGxwUKmpYAW171O6AvtPP0exMutR1

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Problem with mapping categories’ is closed to new replies.