my problem is the following.
When I create any attribute in my language, for example in Russian, the system automatically creates an attribute slug in English. But the beginning of the words in alphabetical order is different. For example, in English the word ‘State’ starts with ‘S’, but in Russian the same word ‘Область’ starts with ‘О’ or in English the word ‘Area’ starts with ‘A’, but in Russian the same word ‘Район’ starts with ‘Р’.
https://imgur.com/a/yJo8uy0 and A similar problem was discussed here https://wordpress.org/support/topic/sorting-of-product-attributes/, but it was never solved.
So when the user is trying to find the desired attribute in the dropdown list or the administrator is trying to find it in the list on the attributes editing page, he gets confused.
How can I make attribute lists appear by attribute name, in alphabetical order of the selected language, rather than by attribute slug?
- This topic was modified 7 months, 1 week ago by cousinr.
Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
I don’t see what that has to do with anything. But ok.
### WordPress Environment ### WordPress address (URL): Site address (URL): WC Version: 6.0.0 REST API Version: ✔ 6.0.0 WC Blocks Version: ✔ 6.3.3 Action Scheduler Version: ✔ 3.3.0 WC Admin Version: ✔ 2.9.4 Log Directory Writable: ✔ WP Version: 5.8.2 WP Multisite: ✔ WP Memory Limit: 2 ГБ WP Debug Mode: – WP Cron: ✔ Language: ru_RU External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.4.27 PHP Post Max Size: 512 МБ PHP Time Limit: 240 PHP Max Input Vars: 10000 cURL Version: 7.71.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.7.36-cll-lve Max Upload Size: 193 МБ Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 6.0.0 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (40) ### Query Monitor: от John Blackbourn – 3.7.1 Redux: от Extendify – 4.3.5 ACF For Dokan Pro: от krazyplugins – 1.2 ACF For Dokan: от krazyplugins – 1.3.3 Advanced Custom Fields: от Delicious Brains – 5.11.4 All In One WP Security: от Tips and Tricks HQ Peter Petreski Ruhul Ivy – 4.4.9 Better Variation Price for Woocommerce: от Josserand Gallot – 1.2.1 Conditional Fields для Contact Form 7: от Jules Colle – 2.0.8 Classic Editor: от Участники разработки WordPress – 1.6.2 Contact Form 7: от Takayuki Miyoshi – 5.5.3 Dokan: от weDevs – 3.3.5 Dokan Menu Hider: от Nayem – 2.5.2 Dokan Pro: от weDevs – 3.4.3 Dokan - Duplicate Product: от weDevs – 0.3 Форма загрузки файлов для плагина Contact Form 7: от Glen Don L. Mongaya – 126.96.36.199 Duplicate Page: от mndpsingh287 – 4.4.7 Electro Extensions: от MadrasThemes – 3.2.3 Font Awesome: от Font Awesome – 4.0.4 WPBakery Page Builder: от Michael M - WPBakery.com – 6.7.0 Loco Translate: от Тим Уитлок (Tim Whitlock) – 2.5.5 M Chart Highcharts Library: от Jamie Poitra – 1.1 M Chart: от Jamie Poitra – 1.8.1 MAS Static Content: от MadrasThemes – 1.0.4 MAS Brands for WooCommerce: от MadrasThemes – 1.0.4 Regenerate Thumbnails: от Alex Mills (Viper007Bond) – 3.1.5 Slider Revolution: от ThemePunch – 6.5.7 RusToLat: от Anton Skorobogatov – 0.3 Безопасный SVG: от Daryll Doyle – 1.9.9 TablePress: от Tobias Bäthge – 1.14 Widget Logic: от WPChef – 5.10.4 WooCommerce Group Attributes: от weLaunch – 1.7.4 WooCommerce: от Automattic – 6.0.0 WordPress Importer: от wordpressdotorg – 0.7 WP Rollback: от Impress.org – 1.7.1 XforWooCommerce: от XforWooCommerce – 1.7.1 YITH WooCommerce Compare: от YITH – 2.9.0 YITH WooCommerce Wishlist: от YITH – 3.4.0 Envato Market: от Envato – 2.0.6 User Switching: от John Blackbourn и соучастники – 1.5.8 ### Dropin Plugins (1) ### db.php: Query Monitor Database Class ### Must Use Plugins (1) ### Health Check Troubleshooting Mode: от – 1.7.2 ### Settings ### API Enabled: – Force SSL: – Currency: Currency Position: right_space Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: auction (auction) external (external) grouped (grouped) product_pack (product_pack) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Ссылка магазина: #3853 - /catalog/ Корзина: #3134 - /cart/ Оформление заказа: #3135 - /checkout/ Мой аккаунт: #3854 - /account/ Правила и условия: #9041 - /terms-and-conditions-/ ### Theme ### Name: Electro Child Version: 3.2.1 Author URL: https://madrasthemes.com/ Child Theme: ✔ Parent Theme Name: Electro Parent Theme Version: 3.2.3 Parent Theme Author URL: https://madrasthemes.com/ WooCommerce Support: ✔ ### Templates ### Overrides: electro/woocommerce/archive-product.php electro/woocommerce/global/quantity-input.php /home/vozimvse/yaroshenya.by/wp-content/plugins/woocommerce-group-attributes/public/partials/woocommerce-group-attributes-output-layout-2.php ### Настройки магазина ### Country / State: ### Поддержка платежного шлюза ### Прямой банковский перевод: products Оплата при доставке: products ### Action Scheduler ### Отменено: 1 Oldest: 2021-12-02 17:39:15 +0300 Newest: 2021-12-02 17:39:15 +0300 Выполнено: 497 Oldest: 2021-12-03 04:09:04 +0300 Newest: 2022-01-02 17:08:51 +0300 В ожидании: 7 Oldest: 2022-01-03 02:53:34 +0300 Newest: 2022-01-24 22:23:59 +0300 ### Status report information ### Generated at: 2022-01-02 17:10:28 +03:00
Thanks for sharing the system status.
I understand that the way of re-ordering attributes in WooCommerce as explained in the thread you referred to, isn’t working for you to get the desired results.
As you are using Dokan, have you checked what inputs they are able to provide in this regard? You can post a topic in their support forum here: https://wordpress.org/support/plugin/dokan-lite/#new-topic-0
Let us know how it goes – we’ll be happy to assist further.
Dokan has nothing to do with my question. This problem also exists on other systems where there is woocommerce and there is no Dokan. Again, please reread my question. Visit the links I shared. And you will understand that woocommerce has a flaw for Cyrillic or other language users. https://imgur.com/a/u967Hx6 Because global attributes sorting system is configured to display by slug. So I will repeat my question – how to change the order of attribute list output not by alphabetical of slug on english, but by alphabetical name atribute of selected system language.
Global attributes are listed in ABC orders by default, and there isn’t a way to reorder them under WooCommerce > Attributes. However, this may be achievable with customization – in which case, I’d recommend consulting with a web developer or one of the services on our Customizations page: https://woocommerce.com/customizations/
So everyone who creates their site in English, it works out of the box, and the rest is a minority? That’s not a fair offer on your part at all. Many people are asking about this feature, the whole internet has been flooded with similar inquiries for years, and you just ignore this request and then offer everyone a paid service for something that should work for everyone.
Please help with this feature and add it to the default plugin for everyone who speaks and writes in other languages.
I understand your point and thank you for sharing your thoughts on improving the WooCommerce functionality. At the moment this is the default feature but you can add your ideas to our Ideas Board and add your vote(s) to it.
The more popular an idea becomes among WooCommerce users, the more of a priority it is for our developers to review it.
Okay. Everything is clear with your support. My question was solved by a brilliant third-party developer, @artabr /Artem Abramovich/, in a jiffy. A huge thanks and respect to him.
Anyone who has ever searched for the answer to the question “How to Sort Woocommerce Global Attributes by Name (not value)” can find it here: https://gist.github.com/artikus11/1d2b2459474154fd27d4e01cb4391e7a
- This reply was modified 7 months, 1 week ago by cousinr.
- The topic ‘Sort list of attributes by alphabetical order of the default site language’ is closed to new replies.