本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
orders list page template
is designated for listing customers orders where customers can check their existing orders to view the status, price, order number and make changes where applicable.
master.twig
, and accordingly, it takes the unified look-and-feel. For example, all of the header's
and footer's
components will be added automatically to this page.User
model is accessible automatically on this page because it's included in the master.twig
layout file.<salla-button>
<salla-infinite-scroll>
orders list page template
calls for the following hooks in order to inject extra information.
orders
are displyed using a for-loop
statement. This can be done easily by using the orders
object as we see in the following example. Note that the Salla component salla infinite scroll has been used to ease the pagination process.