• Hi! is it possible to get a order xml format like:

    <orders id=”123″>
    <order id=”1″>
    <customer>
    <customerID>234</customerID>

    </customer>
    <positions>
    <position number=”1″>
    ….
    </position>
    <position number=”2″>
    ….
    </position>
    </positions>
    </order>
    <order id=”2″>

    </order>
    </orders>`

    Thank you fpr feedback!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author algol.plus

    (@algolplus)

    I’m unsure what is “123”. is it “1,2,3” ?

    Any way, it requires a bit of programming.

    Please, visit https://docs.algolplus.com/algol_order_export/sample-addons/
    Download and install XML plugin ( via >Plugins>Add New>Upload)
    Go back to export – you should mark checkbox at bottom (just above buttons)
    Use FileZilla to edit file /wp-content/plugins/woe-custom-xml/woe-custom-xml.php

    thanks, Alex Prokaev`

    Thread Starter benetaylor

    (@benetaylor)

    Thank you fpr your reply!
    “123” just means that i have to add attributes to the root and count orders.

    Best!

    Plugin Author algol.plus

    (@algolplus)

    to get number of orders use
    count(WC_Order_Export_Engine::$orders_for_export)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘XML Format’ is closed to new replies.