Home Forums Plugins Import Shopify to WooCommerce Import Shopify Variant ID

Import Shopify Variant ID

  • Author
    Posts
  • #51504

    Scott Weber
    Participant

    Hi, how do I import the Variant ID as well? This is critical to our functional needs. Please see the following XML File:

    <product>
    <id type=”integer”>4392989589562</id>
    <title>SW-SM8(SCR) White Shaker HO</title>
    <body-html/>
    <vendor>Builderz Warehouse</vendor>
    <product-type>Cabinets</product-type>
    <created-at type=”dateTime”>2020-02-03T08:38:50-07:00</created-at>
    <handle>sw-sm8scr-white-shaker-ho</handle>
    <updated-at type=”dateTime”>2020-02-03T08:57:05-07:00</updated-at>
    <published-at type=”dateTime” nil=”true”/>
    <template-suffix/>
    <published-scope>global</published-scope>
    <tags>Cabinets, Good, Kitchen cabinets, Multifamily</tags>
    <variants type=”array”>
    <variant>
    <id type=”integer”>31312146333754</id>
    <product-id type=”integer”>4392989589562</product-id>
    <title>Default Title</title>
    <price type=”decimal”>19.00</price>
    <sku>BW-SW-SM8(SCR)-HO</sku>
    <position type=”integer”>1</position>
    <inventory-policy>deny</inventory-policy>
    <compare-at-price type=”decimal” nil=”true”/>
    <fulfillment-service>manual</fulfillment-service>
    <inventory-management>shopify</inventory-management>
    <option1>Default Title</option1>
    <option2 nil=”true”/>
    <option3 nil=”true”/>
    <created-at type=”dateTime”>2020-02-03T08:38:51-07:00</created-at>
    <updated-at type=”dateTime”>2020-02-03T08:57:05-07:00</updated-at>
    <taxable type=”boolean”>true</taxable>
    <barcode/>
    <grams type=”integer”>0</grams>
    <image-id nil=”true”/>
    <weight type=”float”>0.0</weight>
    <weight-unit>lb</weight-unit>
    <inventory-item-id type=”integer”>32949173649466</inventory-item-id>
    <inventory-quantity type=”integer”>8</inventory-quantity>
    <old-inventory-quantity type=”integer”>8</old-inventory-quantity>
    <requires-shipping type=”boolean”>false</requires-shipping>
    </variant>
    </variants>
    <options type=”array”>
    <option>
    <id type=”integer”>5726641193018</id>
    <product-id type=”integer”>4392989589562</product-id>
    <name>Title</name>
    <position type=”integer”>1</position>
    <values type=”array”>
    <value>Default Title</value>
    </values>
    </option>
    </options>
    <images type=”array”/>
    </product>

    We need this line:

    <variant>
    <id type=”integer”>31312146333754</id>

    How would that work?

    Thanks

You must be logged in to see replies to this topic. Click here to login or register