I am working on a website, where I have created a custom product archive page for my WooCommerce store. The page functions correctly when filters are applied. However, I am encountering an issue when accessing the page directly via its URL.
When accessing the product archive page directly via the URL, I receive the message: “Unfortunately, there are no products that match your criteria.”
If I apply any filter (e.g., price, category), the products are displayed correctly.
After applying a filter, if I remove all the filters, the page correctly shows all products.
The issue only arises when accessing the page directly via the URL without applying any filters.
I would appreciate your help in resolving this issue so that all products display correctly by default when the page is accessed via URL without any filters applied.