This issue happens if Woocomerce settings are not set properly. Thus the issue with Pagination on Shop Page or 404 error while clicking a page number occurs. To fix this error, you will need to set the same number of pages that are appearing in your shop.
1. At first, go to the store/shop page of your site.
2. Click customize on the top of the page.
3. Navigate to WooCommerce settings on the sidebar menu of customization options.
4. Input the same number of products in the “Product Catalog” that you set in the “products per page” settings within CoDesigner Shop Widgets.