i need to have an specific XML-Layout. Like this:
Warning: Spoiler Alert!
[Toggle message]
<?xml version="1.0"?>
<Order_Data>
<Transaction_No>100</Transaction_No>
<Header>
<Customer_Reference>Order 1</Customer_Reference>
<Delivery_Date>22.06.2012</Delivery_Date>
<Address>
<Name1></Name1>
<Name2></Name2>
<Street></Street>
<Postalcode></Postalcode>
<City></City>
<ISO_Country></ISO_Country>
<Phone>1234Abc</Phone>
</Address>
<Positions>
<Line>
<Line_No>1</Line_No>
<No>4002911121566</No>
<Quantity>1</Quantity>
</Line>
<Line>
<Line_No>2</Line_No>
<No>4002911120491</No>
<Quantity>5</Quantity>
</Line>
</Positions>
</Header>
</Order_Data>
The problem is, that only the Lines in the Positions needs to repeat.
When i use the XML-Layout Tab in Template,only th Fields in "Body" are replaced, but not in Header.
And when i place all the fields in Body, the Adress usw. will be repetet with every product.
Actually I need an advanced export function as with virtuemart advanced export.
Is that possible?
Thank you.