• Resolved JapeNZ

    (@japenz)


    Hi there,

    I’ve just noticed that when I create a new product (using a copy of an existing one), when I select the product attributes it only shows a limited number of attributes rather than letting me scroll through all available attribute options.

    For example I have ‘Variant cover’ as a product attribute which has 78 different options, but when creating a product I’m only able to scroll through 50.
    I can specify a option not listed, but can’t scroll through and see every available option.

    I used to be able to scroll through all available options, is there a setting I can change to make that available again?

    Thank you for your help!

    • This topic was modified 6 months ago by JapeNZ.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Rajesh K. (woo-hc)

    (@rajeshml)

    Hello @japenz,

    This kind of problem is usually caused by a conflict with your theme or with another plugin. The best way to determine this is to:

    • Temporarily switch your theme to Storefront or Twenty Twenty-Four
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated.

    To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict.?You can find a more detailed explanation of how to do a conflict test here.

    I hope that helps! Let me know once you have done a conflict test!

    Thread Starter JapeNZ

    (@japenz)

    HI @rajeshml

    Thank you for getting back to me ??

    I’ve tested with just Woocommerce active and Twenty Twenty-Four set as my theme, and I’m getting the same result.

    Can you check on your end and see if you have the same issue please?

    To duplicate error:
    Create product attribute: Attribute Test
    Add 52 attributes: 1-52
    Create new product and add existing ‘Attribute Test’ as an attribute.
    Click in the ‘Value(s)’ area and scroll to the bottom.

    If you’re seeing the same error I am, the last options will be:

    5
    50
    51
    52
    6
    7

    Meaning it is missing 8 and 9, so only showing a maximum of 50 attributes that can be scrolled through.

    • This reply was modified 6 months ago by JapeNZ.
    • This reply was modified 6 months ago by JapeNZ.

    Hey, @japenz!

    Please note that the list only showing 50 attributes is working as expected. The same way that the variations can only be created automatically in batches of 50.

    It is not possible to change that in the default settings. You should be able to achieve this with custom code, but as per our support policy, we do our best to offer advice and direct you to appropriate resources.

    You can visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there too.

    If you wish, you can also submit this as a feature request.

    We have a website where you can submit feature requests and upvote the ones other people submitted and you like. You can check that out here.

    Please let us know if there’s anything else we can do to help or if you have further questions.

    Have a wonderful day!

    Thread Starter JapeNZ

    (@japenz)

    Hi @carolm29

    So was this limitation added in the latest update because it wasn’t the case before.
    Are you able to guide me to where the limit is added in the code, so I can try and work out a work around please?

    Thank you for your help!

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @japenz,

    So was this limitation added in the latest update because it wasn’t the case before.

    I was browsing our changelogs and didn’t find mention of such a recent change.

    You could try installing a previous version of WooCommerce with a plugin like WP Rollback, though, to see if this works with 8.8.3 or any recent version. Then it’d be easier to pick the code from this change.

    Some important considerations:?
    — Be sure you have a good backup in place of your full site and database. You can ask your host for backup functionality, or you can consider using a service like?Jetpack. If something goes wrong, you will be able to restore it.

    — Alternatively, you could consider staging functionality in case you would not like to touch your production site (you can ask your host if they offer this service), or you can use WP Staging to spin up a new test site quickly.

    I hope this helps so far!
    -OP

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi there ?? ,

    We haven’t heard from you in a while; this is to check if you’ve been able to proceed with the troubleshooting steps provided before and if you still need help.

    Thanks!
    -OP

    Thread Starter JapeNZ

    (@japenz)

    Hi @omarfpg,

    I think it may have been changed a while back and I just hadn’t noticed haha!

    I went a different way and removed a bunch of attribute options that were only being used by a small number of products, so I could get the list down to less than 50.

    Thanks for all your help!

    Plugin Support Sven L. a11n

    (@sverleis)

    Hey there @japenz,

    There was a filter added to the WooCommerce core that allows for you to increase this limit. This is covered in further detail on the pull request on GitHub:

    https://github.com/woocommerce/woocommerce/pull/45506?

    Please take a look at the example noted, and add that to your testing site via the functions.php file, or via a code snippet plugin.

    Let us know if that works for you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.