After purchasing a product on the ecshop marketplace page, the number of purchase records will be displayed by page. By default, the ecshop displays 5 purchase records, which is obviously a little less, if the customer buys ten items and wants to view the purchased items and flip pages, it will be a bit complicated. The following summer blog will teach you how to change the purchase records several times.
First open the pludes/lib_insert.php file and find the following code:
'Order BY oi. add_time desc limit 5' and $ pager ['size'] = $ size = 5;
This code is the statement used to control the number of pages. Change 5 to 10.
Open the goods. php file in the root directory and find the following code:
($ Page> 1 )? ($ Page-1): 0) * 5. ', 5'
To:
($ Page> 1 )? ($ Page-1): 0) * 10. ', 10'
Then find the following code:
$ Pager ['size'] = $ size = 5;
To:
$ Pager ['size'] = $ size = 10;
OK. Go to the front-end to test whether five records are displayed.