VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: sylwekb on July 04, 2014, 16:18:48 PM

Title: Is it possible to import the xml file products from the warehouse to the various
Post by: sylwekb on July 04, 2014, 16:18:48 PM
Virtuemart 2.6.6
Is it possible to import the xml file products from the warehouse to the various
Can be xml files with different structures from multiple warehouses?

The following piece of xml file prepared by the wholesalers.


<?xml version="1.0" encoding="UTF-8"?>
<BMECAT xmlns="http://www.bmecat.org/XMLSchema/1.2/bmecat_new_catalog" version="1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <HEADER>
    <GENERATOR_INFO>...2012-01-19</GENERATOR_INFO>
    <CATALOG>
      <LANGUAGE>pol</LANGUAGE>
      <CATALOG_ID>1269</CATALOG_ID>
      <CATALOG_VERSION>19.0</CATALOG_VERSION>
      <CATALOG_NAME>...</CATALOG_NAME>
      <DATETIME type="generation_date">
        <DATE>2014-05-14</DATE>
        <TIME>14:52:52</TIME>
        <TIMEZONE>+01:00</TIMEZONE>
      </DATETIME>
      <TERRITORY>PL</TERRITORY>
      <MIME_ROOT>/media/</MIME_ROOT>
      <PRICE_FLAG type="incl_assurance">FALSE</PRICE_FLAG>
      <PRICE_FLAG type="incl_duty">FALSE</PRICE_FLAG>
      <PRICE_FLAG type="incl_freight">FALSE</PRICE_FLAG>
      <PRICE_FLAG type="incl_packing">FALSE</PRICE_FLAG>
    </CATALOG>
    <SUPPLIER>
      <SUPPLIER_ID type="supplier_specific">RBPL - Polen (PL)</SUPPLIER_ID>
      <SUPPLIER_NAME>Bosch PT</SUPPLIER_NAME>
      <ADDRESS type="supplier">
        <NAME>Bosch PT</NAME>
</ADDRESS>
</SUPPLIER>
  </HEADER>
  <T_NEW_CATALOG>
    <CATALOG_GROUP_SYSTEM>
      <CATALOG_STRUCTURE type="root">
        <GROUP_ID>1</GROUP_ID>
        <GROUP_NAME>BMECat-Export Polen Blau für PT MediaPool Extranet</GROUP_NAME>
        <PARENT_ID>0</PARENT_ID>
        <GROUP_ORDER>1</GROUP_ORDER>
      </CATALOG_STRUCTURE>
      <CATALOG_STRUCTURE type="node">
        <GROUP_ID>101272</GROUP_ID>
        <GROUP_NAME>Rzemiosło/Przemysł</GROUP_NAME>
        <PARENT_ID>1</PARENT_ID>
        <GROUP_ORDER>1</GROUP_ORDER>
      </CATALOG_STRUCTURE>
      <CATALOG_STRUCTURE type="node">
        <GROUP_ID>104635</GROUP_ID>
        <GROUP_NAME>Nowości</GROUP_NAME>
        <PARENT_ID>101272</PARENT_ID>
        <GROUP_ORDER>1</GROUP_ORDER>
        <MIME_INFO>
          <MIME>
            <MIME_TYPE>image/jpeg</MIME_TYPE>
            <MIME_SOURCE>IMG-BL-CTAV503913.1.jpg</MIME_SOURCE>
            <MIME_PURPOSE>normal</MIME_PURPOSE>
</MIME>
</MIME_INFO>
      </CATALOG_STRUCTURE>
...



Title: Re: Is it possible to import the xml file products from the warehouse to the various
Post by: GJC Web Design on July 04, 2014, 16:50:59 PM
something like http://bit.ly/THyU1d (http://bit.ly/THyU1d)
Title: Re: Is it possible to import the xml file products from the warehouse to the various
Post by: sylwekb on July 04, 2014, 20:52:24 PM
I do not understand, please answer the question. How to import data from wholesalers xml file to virtuemart?
Title: Re: Is it possible to import the xml file products from the warehouse to the various
Post by: GJC Web Design on July 04, 2014, 22:46:34 PM
Honestly - OK - I'll spell it out - with an extension
Title: Re: Is it possible to import the xml file products from the warehouse to the various
Post by: AH on July 05, 2014, 12:42:02 PM
LMAO

GJC you are a saint!