我已尝试使用 Views Data Export 模块从 Drupal Commerce Kickstart 安装中导出订单。但是订单项被呈现为 html 表格。
我不确定 Views Export 模块是否可以做到这一点,但我想循环遍历每个行项目以实现如下目的:
<order ordernr="1">
<customer_profile id="1">
...
</customer_profile>
<line_items>
<line_item sku="786">
<price>100</price>
</line_item>
etc...
</line_items>
</order>