• Hi!

    I have a problem with the category/results template in my company’s website.

    To put it simply:

    – the results/category template page is coded to return a list of products.
    Have a look at this example (you don’t need to know Portuguese to understand it): https://www.audiolog.pt/produtos/fabricantes/art
    So, what you’re looking at his a category template page, which returns the listing of products for the selected category (in this case, a category called ART, which is the name of a manufacturer).

    – that template page is built to allow 8 results per page. If you have more results, then the usual “Next Products” link appears at the bottom to allow you to navigate;

    This is where I have my problem:

    1. If a category has *5 or less* products listed *in the second or subsequent pages* (this does not happen with the first page), then instead of showing the latest 3 results (for example), the user gets redirected to the null Search results page.

    Try for yourself, please.

    – Scroll down that page > click below on ‘Next Products’ (‘Produtos Seguintes’) > and when you are about to reach page 4, instead of having the last results presented, you get the “We couldn’t find anything” response-like.

    This happens with every category, as long as the list returns 5 or less results. If it has 6 results or more, then for some reason the page renders correctly.

    Any idea what might be causing this?

    Thanks.

    Best regards.
    André

  • The topic ‘Problem with category page template’ is closed to new replies.