Hello,
I have a product attribute “Color” with 91 values. After the update to Enfold 5.4.1, only the first 50 values are offered as options in the drop-down select list on the product edit page. The remaining values are missing.
The editor basically recognizes all values: Typing the characters “whis” offers the option “whisky” (value #91) to select. Clicking “Select All” also inserts all 91 values. Only the drop-down list is limited to 50 options.
Can you please help me to overcome this limitation.
Best regards,
Günter
Hey Günter,
Thank you for the inquiry.
Are you using a product element in the builder? Would you mind providing a screenshot of the issue? Please use imgur, savvyify or dropbox for the screenshot.
Best regards,
Ismael
Hello Ismael,
I use the classic editor.
Screenshots:https://img.savvyify.com/images/2023/03/24/screens.jpeg
Best regards,
Günter
Hi,
Thanks for the screenshots, please try this solution by adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:
add_filter( 'woocommerce_ajax_variation_threshold', 'wc_ninja_ajax_threshold' );
function wc_ninja_ajax_threshold() {
return 100;
}
If this doesn’t help please include an admin login in the Private Content area so we can be of more assistance.
Best regards,
Mike
Hi,
unfortunately the code does not help.
Best regards,
Gunter
Hi,
Thanks for the feedback, it doesn’t seem that woocommerce offers a function to show more attributes, only the variations, at least from what I could find.
I recommend asking the woocommerce support team if they do have a function for this as they would know better than us.
Best regards,
Mike