テンプレートへの記述例
<!-- shop:module="common.prosperity_report" -->
<section>
<h1>繁盛レポート</h1>
<table>
<thead>
<tr>
<th></th>
<th>注文日時</th>
<th>住所</th>
<th>注文番号</th>
<th>価格が高い商品</th>
<th>購入数が多い商品</th>
<th>商品合計</th>
<th>注文合計</th>
</tr>
</thead>
<tbody>
<!-- block:id="prosperity_order_list" cms:count="5" -->
<tr>
<td cms:id="number">順</td>
<td cms:id="report_order_date" cms:format="Y-m-d H:i:s">注文日時</td>
<td cms:id="customer_pref">購入者都道府県</td>
<td cms:id="tracking_number">注文番号</td>
<td>
<a cms:id="price_max_item_link">
<!-- cms:id="price_max_item_name" -->価格が一番高い商品名<!-- /cms:id="price_max_item_name" -->
</a>
</td>
<td>
<a cms:id="count_max_item_link">
<!-- cms:id="count_max_item_name" -->購入数が一番高い商品名<!-- /cms:id="count_max_item_name" -->
</a>
</td>
<td><!-- cms:id="item_total_price" -->商品合計<!-- /cms:id="item_total_price" -->円</td>
<td><!-- cms:id="order_total_price" -->注文合計<!-- /cms:id="order_total_price" -->円</td>
</tr>
<!-- /block:id="prosperity_order_list" -->
</tbody>
</table>
</section>
<!-- /shop:module="common.prosperity_report" -->
※cms:countで注文の表示件数の上限を指定できます。