Can perch_shop_orders() be paginated?

  • I tried that, and the list is truncated correctly and the pagination controls kind of appear below the list. However the number of pages doesn't show and the next button doesn't work.

    PHP
    1. <?php perch_shop_orders([
    2.     'sort' => 'orderID',
    3.     'sort-order' => 'DESC',
    4.     'count' => 10,
    5.     'paginate' => true,
    6. ]);?>

    shop/orders/list.html template code.

  • That could be helpful as this seems to be a recurring issue for a number of people (based on what I see here on the forum and on the Perchology slack group). While the template core concepts does cover namespacing, I can see namespaces being added to the top of relevant pages as tags which would act as a quick reminder to the reader:



    But that's not my call to make. The docs are open source now and has a public GitHub repository (https://github.com/PerchCMS/perch-docs). So opening an issue on there would be the ideal place to discuss this with drewm