代码之家  ›  专栏  ›  技术社区  ›  SL5net

如何修复Shopware图像导入错误-需要订单号和图像

  •  0
  • SL5net  · 技术社区  · 6 年前

    我已经从shopware.com上阅读了通过XML文件导入图像的示例。 images.xml

    然后我在下面创建了这个XML,上传并得到了这个错误:

    导入错误:ordernumber和image是必需的。

    我怎么能解决这个问题?

    我的XML:。

    根目录 和标题; <headerchild/> L&/Health≫ 图像; 图像& GT; <订单号>020201</ordernumber> <image>http://1808280148.net/01.jpg</image> <MAIN>1</MAIN> <description>绿色EA</description> <位置>1</位置> <width>0</width> <height>0</height> <relations></relations> <Thumbnail>1</Thumbnail> &图像/GT; &图像; &根/根; < /代码>

    顺便说一下: http://1808280148.net 是虚构的。 之前我安装了商店[Shopware 5.4.6][4],然后导入类别和addet文章。 我还可以通过phpmyadmin访问数据库。类似配置安装的快照如virtualbox image,您也可以在此处找到: https://github.com/sl5net/lubuntu shopware stack >. >p

    导入错误:需要订单号和图像。 Ordernumber and image are required

    我怎么能解决这个问题?

    我的XML:

    <Root>
        <Header>
            <HeaderChild/>
        </Header>
        <images>
            <image>
            <orderNumber>020201</orderNumber>
            <image>http://1808280148.net/01.jpg</image>
            <main>1</main>
            <description>greensea</description>
            <position>1</position>
            <width>0</width>
            <height>0</height>
            <relations></relations>
            <thumbnail>1</thumbnail>
            </image>
        </images>
    </Root>
    

    顺便说一句: http://1808280148.net 是虚构的。 之前我安装了商店[Shopware 5.4.6][4],然后导入类别和addet文章。 我还可以通过phpmyadmin访问数据库。A snapshot of a similar configuration installation as virtualbox image you could also find here: https://github.com/sl5net/lubuntu-shopware-stack

    1 回复  |  直到 6 年前
        1
  •  1
  •   mnaczenski    6 年前