Attribute Problem
-
I am facing a problem with the attribute. I make the “Shoe Size attribute for my products and add the items from 5 to 10. But, when I’m going to add the variable product on my website, the alignment of the items is not in the Ascending order. The items come like 5,10, 6, 9. I want, when I add a product the items should be in Ascending order like 5, 6,7,8,.
-
Hello @davidkh,
Thank you for reaching out!Just to confirm, you’re trying to sort them here, correct?
Link to image: https://d.pr/i/pSfeQ8
If so, then this is expected. :)
You can find the terms list sorted according to the sorting method you selected in the selection list and on the front end.
Link to image: https://d.pr/i/oSb9kp
Link to image: https://d.pr/i/uo2mTKWhile you can use CTRL + F to swiftly locate the desired term, this process could certainly be enhanced. I recommend submitting a new feature request at https://github.com/woocommerce/woocommerce/issues/new/choose to address this improvement.
Let us know if you have any other questions!
The main problem is that when I want to click on the “Select All” button, then this problem come, so I want that when I click on Select All button, the items should be is comes in sequence.
Hi @davidkh,
Thank you for providing further clarification on your issue.
When you click on the “Select All” button, the attribute terms are shown in the order they were added, not in ascending order. This is the default behavior of the WooCommerce plugin.
However, if you would like the attribute terms displayed in a specific order when you click “Select All”, you would need to add the terms in that specific order. For example, if you want the shoe sizes to be displayed in ascending order, you must add the smallest to largest shoe sizes (5, 6, 7, 8, 9, 10).
Here are some guide that might be helpful:
- https://www.wpfloor.com/change-woocommerce-attributes-sort-order/
- https://ww.wp.xz.cn/support/topic/product-attribute-order-on-product-page/
- https://ww.wp.xz.cn/support/topic/sort-list-of-attributes-by-alphabetical-order-of-the-default-site-language/#post-15215569
I hope this helps! If you have any further questions or concerns, please feel free to ask.
I do the numbering right in the attribute section, but when I click on select all the sizes do not come in sequence. You can see in the pictures:
Hi there @davidkh 👋
I do the numbering right in the attribute section, but when I click on select all the sizes do not come in sequence. You can see in the pictures
Thank you for reaching back, clarifying things further.
Nevertheless, please note that the ordering of the attributes will still appear in the order they were input in the screen at
Products > Attributes.Below, I am attaching two screenshots, for reference. They showcase that, after having added my attributes in the screen at
Products > Attributes, they appear as expected in theVariationsproduct tab and on the front end, despite appearing in a different order in theAttributesproduct data tab.
Direct link to image: https://snipboard.io/csudrY.jpg 
Direct link to image: https://snipboard.io/D1SL65.jpg I trust that points you in the right direction, but if you have more questions, let us know.
We’re happy to help.
ok, but in this way, I have go on each size and put the regular price and sale prize. Again a lot of time wasting.
Hello @davidkh,
ok, but in this way, I have go on each size and put the regular price and sale prize. Again a lot of time wasting.
Regardless of how the attributes are sorted, you’ll need to individually add the price for each variation. If all shoe sizes have the same cost, consider using the bulk price editor:
Here’s a brief overview of how it works:
Link to image: https://d.pr/i/Kt8KYt
Link to image: https://d.pr/i/FcKJUs
Link to image: https://d.pr/i/QkGvV6Hope this helps!
Let us know if you have any other questions! :)Hi there @davidkh 👋
ok, but Is there any solution available for the main problem? Means, I when in the “variable product”, when I click on the “Select All” button, all the sizes comes in the sequence. Here is my website, you can check if any problem to theme: http://hokashoes.org/
I went ahead with visiting the product page at https://hokashoes.org/product/hoka-bondi-8-womens/, and it appears that all sizes are in order. Below, I am attaching a screenshot, for reference.
To clarify, how does it look in the back-end (where the product’s details are edited)?

Direct link to image: https://snipboard.io/0wGdXA.jpg Note that it is recommended to submit a new feature request at https://github.com/woocommerce/woocommerce/issues/new/choose to address any improvements you might have to suggest for WooCommerce.
Thank you.
The topic ‘Attribute Problem’ is closed to new replies.