• When looking at products sorted by category, pagination is listing hundreds of pages (saying 5000+ products). I have this many products but not this many in stock. I have the box checked to “hide out of stock products”. It isn’t displaying the products, but it is creating pages for them.

    The box for terms & conditions on check out will not allow it to be checked. Had to remove it from the site to be able to accept orders.

    This is with Storefront theme

Viewing 15 replies - 31 through 45 (of 46 total)
  • Thread Starter barbedhook

    (@barbedhook)

    OKay, I put one item out of stock. It removed it from site, but the count stayed the same. I switched to 2014 theme (I am using a child of storefront) and it did not change the page issue.

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    If that happened, it really sounds like something is changing that query to NOT use the new taxonomy, which would explain why the outofstock products are returned but not displayed.

    There has to be a plugin, or custom code, running on this site. I don’t see any other possibilities. Since I don’t have access I cannot confirm for myself.

    Thread Starter barbedhook

    (@barbedhook)

    I’ve tried a different template and disabling all plugins except woocommerce. I haven’t modded any core files or anything. I don’t know what else could be causing it. I could get you access to the site if you wanted to take a look.

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    This change will help debug-I found duplicate terms to be the issue on another site. https://github.com/woocommerce/woocommerce/pull/14199

    Thread Starter barbedhook

    (@barbedhook)

    Looking like duplicates might be the issue here too?

    Taxonomies: Product types external (external), grouped (grouped), simple (simple), variable (variable)
    Taxonomies: Product visibility exclude-from-catalog (exclude-from-catalog), exclude-from-catalog (exclude-from-catalog-2), exclude-from-search (exclude-from-search), featured (featured), outofstock (outofstock), outofstock (outofstock-2), rated-1 (rated-1), rated-2 (rated-2), rated-2 (rated-2-2), rated-3 (rated-3), rated-4 (rated-4), rated-5 (rated-5), rated-5 (rated-5-2)

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    Yeah looks like it. If you temporarily set this true https://github.com/woocommerce/woocommerce/blob/cdab73af3ccfab1ae9d93e70c12ba9aa3085d874/includes/class-wc-post-types.php#L68 you’ll be able to delete the duplicates via WP admin interface.

    Thread Starter barbedhook

    (@barbedhook)

    Finally!!!! It’s fixed! Thank you so much for your help Mike!

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    Any ideas why those terms would be duplicated on your install? Do any restores or anything?

    Thread Starter barbedhook

    (@barbedhook)

    Happened after upgrading to 3.0. When trying to fix the problem, I uninstalled 3.0 and reinstalled 2.7, then upgraded to 3.0 again. I didn’t do anything else specifically that I think would have duplicated them. So honestly, I have no idea.

    I was directed to this thread from Lollum support as they believe I am having a similar issue with WooCommerce.

    With very fews plugins activated while running Twenty Seventeen, WooCommerce hides Out of stock products from the shop page but doesn’t fill the page with 9 in-stock products.

    Out of stock visibility CHECKED ON: https://i.imgur.com/hXQ915Z.png
    (Says showing 1-9 but only displays 4 products)

    Out of stock visibility CHECKED OFF: https://i.imgur.com/2FptWIe.png

    Thread Starter barbedhook

    (@barbedhook)

    Mike,

    Do this: https://github.com/woocommerce/woocommerce/blob/cdab73af3ccfab1ae9d93e70c12ba9aa3085d874/includes/class-wc-post-types.php#L68

    Then in WP settings for Woo under attributes you will see them listed. IF there is doubles, delete the one that is -2

    @barbedhook thanks for the help!

    Where is this attributes panel exactly? I’ve looked inside WooCommerce>Settings and WooCommerce>System Status and can’t find what you are describing.

    Thread Starter barbedhook

    (@barbedhook)

    Sorry…Products->Attributes

    I’m sorry, folks, but I have the same issue, also with a clean site, installed a couple days ago.
    Disclaimer: I am not at all familiarized with wordpress maintenance, and this is maybe the second time I had to look under the hood, so I apologize if I ask something that should’ve been obvious.

    Here’s what I tried after reading this thread and confirming that my items are indeed marked as out of stock, and that changing their status doesn’t change the product count:

    1. Based on Mike Jolley’s post, I changed the line below from “false” to “true” through my webhost’s file manager (not through wordpress).
    file: /wp-content/plugins/woocommerce/includes/class-wc-post-types.php
    change: line 68, change false to true
    https://github.com/woocommerce/woocommerce/blob/cdab73af3ccfab1ae9d93e70c12ba9aa3085d874/includes/class-wc-post-types.php#L68

    2. I then looked at Products->Attributes, but saw nothing there. No custom attributes, no default ones. The list is empty.

    Looking like duplicates might be the issue here too?
    Taxonomies: Product types external (external), grouped (grouped), simple (simple), variable (variable)
    Taxonomies: Product visibility exclude-from-catalog (exclude-from-catalog), exclude-from-catalog (exclude-from-catalog-2), exclude-from-search (exclude-from-search), featured (featured), outofstock (outofstock), outofstock (outofstock-2), rated-1 (rated-1), rated-2 (rated-2), rated-2 (rated-2-2), rated-3 (rated-3), rated-4 (rated-4), rated-5 (rated-5), rated-5 (rated-5-2)

    Where/how exactly did you see this? I can see the “-2” items there, but I don’t know where to look to prove/disprove I’m in the same situation.

    Based on my pages behavior (paintingdesk.com/loja), it seems to be paginating with all the products, then only displaying the “instock” products in each page: a couple here, three more there, then a few with none, etc.

    Any help is welcome! Thanks!

    • This reply was modified 7 years, 4 months ago by Tylo.
    • This reply was modified 7 years, 4 months ago by Tylo.

    Thanks all for this thread, I’ve had the IDENTICAL problem.

    My System Status is telling me the same thing (see below):

    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    exclude-from-search (exclude-from-search-2)
    featured (featured)
    featured (featured-2)
    outofstock (outofstock)
    outofstock (outofstock-2)
    outofstock (outofstock-3)

    For some reason though when I try and go to Products – Attributes from the top menu (https://thepan-handler.com/wp-admin/edit.php?post_type=product&page=woocommerce_attributes) I get “You do not have sufficient permissions to access this page” – even though I’m the only administrator. *sigh*

    So I’m going to wander back into the forums to see how to fix this – but I’m super pleased that this thread exists, and we found a solution.

Viewing 15 replies - 31 through 45 (of 46 total)
  • The topic ‘3.0 Issues: pagination, terms & conditions’ is closed to new replies.