• Resolved Dmitry Bychenko

    (@wpbluefox)


    Hello,
    Im trying to change number of items per page on Attribute page.
    WooCommerce – Products – Attributes
    I create Attribute, choose Custom ordering, click Add attribute button and see new attribute in the list on the right.

    Then I click on new Atribute and go inside, where i can create items of attributes,
    for example Size S, Size M, Size L.

    What i Cannot do is on the top of the screen there is a button Screen Options.
    I want to change amount from default 20 to 100 (for example).

    Why?
    By some reason in the front end these attributes are shown in order I have on this Attribute page.
    NOT in order I set in Product settings – Variations (which i would like to have).
    But in order attributes appear in Attributes list (page) and Product settings – Attributes.

    So to reorder these attributes I need to drag them manually in Attributes sections, BUT i have more than 20 items on page, so I CAN reorder on first page, but cannot reorder on first and second page same time – different pages, and finally I have mess in front-end.

    I also cannot use Default sort order: Term ID or whatever, because my attributes are too custom, for example: 2-4, 2-4 years, 2-4 month.
    I need only custom order to arrange them myself.

    What I tried to do:
    Disable ALL plugins except WooCommerce. Didnt help.
    Change default theme to 2020. Didnt work.
    Deactivate and then activate WooCommerce. Didnt work.
    Optimize and repair database ?? Didnt work.

    Changing amount of Products on WooCommerce – Products – All Products working well. Successfully changed to 200.

    WP 5.4
    WC 4.0.1
    PHP 7.3.12
    PHP Memory limit 256
    MySQL 5.7.21

    I tried to change this number of items on another website – worked well with no problem.
    Problem must be in my website. Can you help me somehow?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @wpbluefox!

    To clarify, you are saying that when you try changing the “Number of items per page” setting in the Screen Options of the Attribute page from 20 to 100, the page doesn’t update and still only shows 20 per page?

    If that is correct, I wasn’t able to reproduce the error on my site, so I’d suggest the following:

    – First, go to WooCommerce > Status > Logs and look through the dropdown list for any recent fatal error logs. If you do see a fatal error log but the issue is not clear, feel free to copy/paste the exact error message here.
    – If there are not any logs, go back to the Attribute page and right-click and choose ‘Inspect’ in the menu (in Chrome or Firefox). Once the inspector section appears, click on the “Console” tab and look to see if there are any errors showing there.

    Let me know what you find.

    Thread Starter Dmitry Bychenko

    (@wpbluefox)

    Hello, thanks for reply!

    Yes, you are right. Still remains 20 after I hit Apply.

    WooCommerce – Status – Logs.
    There are 3 logs over there:
    – geolocation
    – test-log.log
    – wc-image-regeneration

    test-log.log is empty. date is yesterday afternoon.
    logs in other 2 are not about my issue.

    Chrome – Console:
    “Red X”:
    Unchecked https://linne.ru/wp-admin/edit-tags.php?taxonomy=pa_%D1%80%D0%B0%D0%B7%D0%BC%D0%B5%D1%80&post_type=product
    runtime.lastError: The message port closed before a response was received.

    “Yellow !”
    DevTools failed to parse SourceMap: chrome-extension://hdokiejnpimakedhajhdlcegeplioahd/sourcemaps/onloadwff.js.map

    Thread Starter Dmitry Bychenko

    (@wpbluefox)

    Solved!
    The problem was Slug was Cyrillic.
    Changed Slug to Latin letters.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can’t change Number of Items on Attributes page’ is closed to new replies.