• Resolved livestainablesupport

    (@livestainablesupport)


    Hi There,

    I am trying to feed a marketplace where I need my products to be displayed on, however your feed creates a scenarion where they cannot find any products. My feed needs to be in the following format.

    
    <ROOT>
    <Version>
    <UserId>1</UserId>
    <PluginVersion>
    <![CDATA[ WordPress 5.6, WooCommerce 4.9.2, bidorbuy Store Integrator 2.7.13, core 3.1.0-20190328132302-10.d810d5d8 ]]>
    </PluginVersion>
    <SchemaVersion>1.1</SchemaVersion>
    <ExportCreated>2021-01-27T08:14:27+00:00</ExportCreated>
    </Version>
    <Products>
    <Product>
    <ID>
    <![CDATA[ 65631 ]]>
    </ID>
    <ProductCode>
    <![CDATA[ 02/EE95-420XD ]]>
    </ProductCode>
    <ProductGTIN/>
    <ProductName>
    <![CDATA[ Elba 4 Gas Burner With 2 Electric Plates Hob – Elba Limited (12 months) *Contact Livestainable for ]]>
    </ProductName>
    <Category>
    <![CDATA[ Home & Lifestyle > Kitchen > Electrical Stoves and Ovens ]]>
    </Category>
    <Price>
    <![CDATA[ 6624.99 ]]>
    </Price>
    <MarketPrice>
    <![CDATA[ 7949.99 ]]>
    </MarketPrice>
    <AllowOffers>false</AllowOffers>
    <AvailableQty>
    <![CDATA[ 26 ]]>
    </AvailableQty>
    <Condition>
    <![CDATA[ New ]]>
    </Condition>
    <ImageURL>
    <![CDATA[ https://www.livestainable.co.za/wp-content/uploads/2020/07/capture-6.png ]]>
    </ImageURL>
    <Images>
    <ImageURL>
    <![CDATA[ https://www.livestainable.co.za/wp-content/uploads/2020/07/capture-6.png ]]>
    </ImageURL>
    </Images>
    <ProductSummary>
    <![CDATA[ Side controls4 gas burners1 triple ring wok burner2 rapid hotplate with indicator lightElectronic ignition ]]>
    </ProductSummary>
    <ProductDescription>
    <![CDATA[ <p>Elba Is A World Leader In Gas And Electric Stove Tops, Dominos And Ovens. Their Design And Functionality Focuses On Minimalism With A Modern And Sophisticated Feel, And Each Product Is Efficient, Safe, Powerful And Easy To Use.</p><p>Features</p>
    
    Side controls
    4 gas burners
    1 triple ring wok burner
    2 rapid hotplate with indicator light
    Electronic ignition
    Safety devices
    Dishwashable enameled pan supports
    Side controls
    ]]>
    </ProductDescription>
    <ProductAttributes>
    <Livestainablebrands>
    <![CDATA[ Elba ]]>
    </Livestainablebrands>
    <Livestainablewarranty>
    <![CDATA[ Limited (12 months) *Contact Livestainable for claims ]]>
    </Livestainablewarranty>
    <Width>50.00</Width>
    <Height>5.50</Height>
    <Length>86.00</Length>
    <ShippingWeight>
    <![CDATA[ 10.00kg ]]>
    </ShippingWeight>
    </ProductAttributes>
    </Product>
    </Root>
    

    But your plugin generates it as follows

    
    <product>
    <ProductName>Kodak Solar Off-Grid Inverter 7.2kW 48V</ProductName>
    <ProductCode>OG-7.2</ProductCode>
    <Category>||Birthday Sale</Category>
    <AvailableQty>100</AvailableQty>
    <Condition>New</Condition>
    <Brand>Kodak</Brand>
    <ShippingProductClass>WOOSEA_COUNTRY##ZA:WOOSEA_SERVICE##RSA Customer to Collect ZA:WOOSEA_PRICE## ZAR 0</ShippingProductClass>
    <ImageURL>https://www.livestainable.co.za/wp-content/uploads/2020/10/2-4.png</ImageURL>
    <ProductSummary>Built-in Wi-Fi for online monitoring via the IOS or Android app Built-in anti-dust kit Dual 4kW MPPT’s Parallel up to 6 units in single or 3-phase</ProductSummary>
    <ProductDescription>The KODAK OG-7.2 Max Off-Grid inverter is a 7200-watt inverter. This inverter boasts dual 4kW MPPT’s which adds flexibility to your design. The 7200 watts design is perfect for installations where 5000 watts are too little and 10000 watts are too much the perfect middle point size. If the 7200 watts is not enough for you, then the OG-7.2 can parallel up to 6 units in a single or 3-phase configuration for a total of 43200kW. The OG-7.2 has an RGB light that changes colors depending on the inverter’s current working model. Features Built-in Wi-Fi for online monitoring via the IOS or Android app BMS communication via RS485 makes it compatible with Pylontech and KODAK batteries Compatible with utilities main or generator Built-in anti-dust kit Dual 4kW MPPT’s Parallel up to 6 units in single or 3-phase High Voltage MPPT, less PV cable means less cost and less labor</ProductDescription>
    <Weight>18.4</Weight>
    <Price>17262.68</Price>
    </product>
    

    Note that your plgin does not include CDATA or ROOT

    • This topic was modified 3 years, 10 months ago by Yui.
    • This topic was modified 3 years, 10 months ago by Yui. Reason: please use CODE button for code formatting
Viewing 1 replies (of 1 total)
  • Plugin Support David G

    (@gravid7)

    Hi @livestainablesupport

    You can use root and it’s working properly I checked, and from your code above please correct you have started root tag as capital and ended it with only initial capital later. Might be that was causing an error.

    And regarding CDATA, It’s not available for now. We will surely check other customer’s requirements and try to include this in our upcoming updates.

Viewing 1 replies (of 1 total)
  • The topic ‘Root and CDATA’ is closed to new replies.