• Resolved chill_rb

    (@chill_rb)


    Hello there,

    There is a problem with exporting orders bij custom XML. The items are not seperated:

    I simplified it to make it more clear. The item tags Are just added sku under sku etc.
    sku
    sku
    Product name
    Product name

    Instead of
    sku
    product name
    sku
    product name

    How can I fix this?

    Input:
    <?xml version=”1.0″ encoding=”UTF-8″?>
    <data>
    <!– BEGIN LOOP –>
    <post>
    <SKU>{SKU}</SKU>
    <ProductName>{Product Name}</ProductName>

    </post>
    <!– END LOOP –>
    </data>

    >>>>>>>>>>Output: >>>>>>>>>>>>>
    <?xml version=”1.0″ encoding=”UTF-8″?>
    <data>
    <post>
    <SKU>4321</SKU>
    <SKU>1234</SKU>
    <ProductName>Brofish VR-bril Cardboard</ProductName>
    <ProductName>Brofish Selfie pole Large orange 29-114cm + universal mount</ProductName>
    </post>
    </data>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Custom XML woocommerce Orders bug’ is closed to new replies.