API configuration
Pagination
All the pagination data count is being set from the backend > config > constants.php file.
Types of pagination
- Admin panel pagination: All the admin panel pagination is being set from the api > PAGINATION
- Admin panel dashboard pagination: There is an option of showing the top category, top brands and top products in the dashboard page, that is being set from the pagination > DASHBOARD
- Frontend pagination: For all the pagination we have used frontend > PAGINATION
- Product count for homepage: For the count of products from the last section of homepage, we have used homeProduct > PAGINATION
- Listing pagination: For all the pagination in listing page we have used listing > PAGINATION
- Detail pagination: For the pagination of suggested products in detail page we have used imageSlider > PAGINATION
- Product rating pagination: For the pagination of product rating in detail page we have used pagination > FRONTEND_PRODUCT_RATING
- Search pagination: For the pagination of suggested search popup we have used pagination > FRONTEND_SEARCH
Clearing cache
After changing any of those values, it's time to clear the cache of the backend.
- Open admin.yourdomain.com/api/clear-cache in the browser. Cache has been cleared.
You can also clear the cache from the admin panel also.
- Login to your Admin panel.
- Go to Setting > Clear cache.
- And click Clear cache button. Cache has been cleared.