• I would expect pagination to work for subcategories as much as for products. My customer has a lot of product categories, most of them with at least one, and for most of them two child level.
    I tried to debug what is happening under the hood but i reach a point where it seems the product_cat query actually has the limit i’ve chosen via customizer but after that in some point of the code everything get screwed up, the query loses the LIMIT part and all the subcategories are display with of course no pagination.
    In my real env i have a parent cat which has 47 subcategories, i’ve set 5 per row, and 8 rows, so i should have 2 pages. Instead all of them get shown.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    > I would expect pagination to work for subcategories as much as for products. In my real env i have a parent cat which has 47 subcategories, i’ve set 5 per row, and 8 rows, so i should have 2 pages. Instead all of them get shown.

    Your active theme makes most of the layout and query decisions. Where can we see the problem and what is the code that manages the layout?

    Kind regards,

    Thread Starter Sirion89

    (@sirion89)

    Hello,

    You are right, my bad that i didn’t specify this. I tried to reproduce the issue, it’s quite easy:
    – WordPress last versione fresh install
    – Install woocommerce
    – Import dummy data
    – Create one category (Es. Clothes)
    – Create one child cat (Es. accessories)
    – Create 10~ subcategory of “accessories” category and fill each of them with at least one product
    – Go to Customizer, wooocommerce, default display for categories: subcategories
    – View the accessories in frontend, i would expect to see it paged if num_per_row * num_cols < total_child_cat. Right? Instead u get all of the subcategories displayed

    Thread Starter Sirion89

    (@sirion89)

    is it legal to bump this? ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Product subcategories pagination’ is closed to new replies.