Custom XML woocommerce Orders bug
-
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 nameInstead of
sku
product name
sku
product nameHow 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>
The topic ‘Custom XML woocommerce Orders bug’ is closed to new replies.