1
votes

I wanted to distribute over the import function 26 articles in 13 categories. Two in each category.

In Frontend: Unfortunately, in each category I only see the last article (name: bluesea) from my XML file. Also under 'new' and 'Top seller' I only see this article.

In XML file (official example): I have given the articles there all a different order number, a different mainnumber and a different name. Of course, the category is occasionally the same.

Below the first and the last article of my XML:

<Root>
<articles>
    <article>
        <name>greensea</name>
        <ordernumber>1</ordernumber>
        <mainnumber>1</mainnumber>
        <tax>19.00</tax>
        <prices>
            <price>
                <group>EK</group>
                <price>2.99</price>
                <pseudoprice></pseudoprice>
                <baseprice></baseprice>
            </price>
        </prices>
        <active>1</active>
        <description>Isolierpacks..
        </description>
        <category>
            <categories>101</categories>
        </category>
        <description_long>1200g
        </description_long>
    </article>

    <article>
        <name>bluesea</name>
        <ordernumber>26</ordernumber>
        <mainnumber>26</mainnumber>
        <tax>19.00</tax>
        <prices>
            <price>
                <group>EK</group>
                <price>2.99</price>
                <pseudoprice></pseudoprice>
                <baseprice></baseprice>
            </price>
        </prices>
        <active>1</active>
        <description>Bluesea...
        </description>
        <category>
            <categories>103</categories>
        </category>
        <description_long>1 kg</description_long>
    </article>
</articles>
</Root>

Previously I installed the shop shopware 5.4.6, then imported the 13 categories (they are all visible) and created an empty Theme that inherits from the responsive Theme. I also have access to the database via phpmyadmin.

1

1 Answers

1
votes

Your example should'nt work at all, because it is missing the supplier and this is one of the minimum values that are needed to create a new product. The example from the documentation works fine for me.

enter image description here