- 2020-02-06 Create product demo file.
- 2020-02-07 Suuport page and itemlimit params
Base on WHMCS 7.x
- Put the myproducts.php in the WHMCS root directory;
- Visit https://yourdomain.com/myproducts.php?page=1&itemlimit=3;
- Get the data as shown in the screenshot;
- Use web front-end framework for development in clientareaproducts.tpl file. Maybe Vue and Angular are great framework;
- Visit https://yourdomain.com/clientarea.php?action=products&page=1;
- Create a custom php page in WHMCS; (Creating Pages)
- Echo json data by Capsule::table();
- Achieve user experience by requesting this interface asynchronously in clientareaproducts.tpl;
Looking forward to more demos.
The MIT License (MIT)