WooCommerce - excelling eCommerce
Woocommerce category pagination broken (2 posts)

  1. stefanoid
    Posted 1 year ago #

    Hi, I have a really big problem I have a woocommerce category setup the name of the category is "bottoms" When I go to 'localhost/mysite/shop/bottoms show the category perfectly with the list of 10 products, this category has 17 products the pagination is 1 2 -> when I go to the second page the URL is 'http://localhost/mysite/shop/bottoms/page/2/' there is a error massage that says 'Oops! That page can’t be found.' I try everything, refresh the cache, update my permanlinks and nothing happens!!!, I has another section of the site that is the shop 'http://localhost/mysite/shop/' this shows the products perfectly and the same paginations structure when I go to the second page of the pagination the systems shows the product perfectly, the theme is 'Unite' whith Woocommerce plugin, Help please!!!!


  2. Oleg Apanovich
    Posted 1 year ago #

    Hi stefanoid. I had the same problem and solved with use permalinks. I don't confident that my solution is universal for all cases, but for me it was enough.
    I wanted to get links:
    http://localhost/my-site/shop - for shop
    http://localhost/my-site/collection/my-collection - for products categories
    http://localhost/my-site/collection/my-collection/page/2/ - for products categories pagination
    http://localhost/my-site/collection/my-collection/product/my-product - for my produts

    I set :
    1) settings - permalinks - Common Settings - Custom Structure : /%postname%/
    2) settings - permalinks - Product permalink base - Custom Base: /collection/%product_cat%/product
    3) All other field I leave empty
    And i received the url that i want.

    In your cases it seem you need simply set
    1) settings - permalinks - Common Settings - Custom Structure : /%postname%/
    2) Product category base: shop
    And you will have url that you want
    On my localhost i set your settings and received url
    http://localhost/WordPressEng/shop/ - for shop
    http://localhost/WordPressEng/shop/bottoms/ - for category bottoms
    http://localhost/WordPressEng/shop/bottoms/page/2/ - for category bottoms page 2
    http://localhost/WordPressEng/product/num9/ - for product

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic