[Skip to main content](#vessel-content)

#   Sort variants by price and bug ordering

##

- **[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")**
- [![neo191987's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35364.jpg)](/forum/user/35364-neo191987 "View neo191987's Profile") Topic Author
- [ Offline](/forum/user/35364-neo191987)

Less More

- Posts: 431
- Thank you received: 19
-
-

9 years 1 month ago -  9 years 1 month ago [\#278976](#278976) by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")  *[Sort variants by price and bug ordering](/forum/2-general-talk-about-hikashop/892069-sort-variants-by-price-and-bug-ordering#278976 "-- HikaShop version -- : 3.2.0  Hi, how can I sort variants by price and not by name. Because there was a bug in the ordering of variants in the test. If the ordering is not by name, it gets a bug at the price that did not match the vendor, and I was wondering what was going on.  Correctly displayed price - Order by Alias, Alphabetic  Wrong price indication - Order by ID, Ordering,  I added a new user and still does not sort correctly, it gets the same bug described below even if it is in alphabetical order. User ABV was supposed to be at the top, but it was at the bottom and the price was correctly displayed.")* was created by *[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")*

-- HikaShop version -- : 3.2.0

Hi, how can I sort variants by price and not by name. Because there was a bug in the ordering of variants in the test. If the ordering is not by name, it gets a bug at the price that did not match the vendor, and I was wondering what was going on.

Correctly displayed price - Order by Alias, Alphabetic
[ ![test.jpg](/forum/attachment/40466) ](/forum/attachment/40466 "test.jpg")

Wrong price indication - Order by ID, Ordering,
[ ![test2.jpg](/forum/attachment/40467) ](/forum/attachment/40467 "test2.jpg")

I added a new user and still does not sort correctly, it gets the same bug described below even if it is in alphabetical order. User ABV was supposed to be at the top, but it was at the bottom and the price was correctly displayed.
[ ![test3.jpg](/forum/attachment/40468) ](/forum/attachment/40468 "test3.jpg")

- [ ![test.jpg](/forum/attachment/40466) ](/forum/attachment/40466 "test.jpg") [ ](/forum/attachment/40466?download=1 "test.jpg")
- [ ![test2.jpg](/forum/attachment/40467) ](/forum/attachment/40467 "test2.jpg") [ ](/forum/attachment/40467?download=1 "test2.jpg")
- [ ![test3.jpg](/forum/attachment/40468) ](/forum/attachment/40468 "test3.jpg") [ ](/forum/attachment/40468?download=1 "test3.jpg")

Last edit: 9 years 1 month ago by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5MjA2OS1zb3J0LXZhcmlhbnRzLWJ5LXByaWNlLWFuZC1idWctb3JkZXJpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

9 years 1 month ago [\#279050](#279050) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Sort variants by price and bug ordering](/forum/2-general-talk-about-hikashop/892069-sort-variants-by-price-and-bug-ordering#279050 "-- HikaShop version -- : 3.2.0  Hi, how can I sort variants by price and not by name. Because there was a bug in the ordering of variants in the test. If the ordering is not by name, it gets a bug at the price that did not match the vendor, and I was wondering what was going on.  Correctly displayed price - Order by Alias, Alphabetic  Wrong price indication - Order by ID, Ordering,  I added a new user and still does not sort correctly, it gets the same bug described below even if it is in alphabetical order. User ABV was supposed to be at the top, but it was at the bottom and the price was correctly displayed.")*

Hello,

The best solution to Sort variants, will be to directly edit the characteristic via "Hikashop-&gt;Products-&gt;Characteristics" and re-order characteristic values.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5MjA2OS1zb3J0LXZhcmlhbnRzLWJ5LXByaWNlLWFuZC1idWctb3JkZXJpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")**
- [![neo191987's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35364.jpg)](/forum/user/35364-neo191987 "View neo191987's Profile") Topic Author
- [ Offline](/forum/user/35364-neo191987)

Less More

- Posts: 431
- Thank you received: 19
-
-

9 years 1 month ago -  9 years 1 month ago [\#279109](#279109) by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")  Replied by *[neo191987](/forum/user/35364-neo191987 "View neo191987's Profile")* on topic *[Sort variants by price and bug ordering](/forum/2-general-talk-about-hikashop/892069-sort-variants-by-price-and-bug-ordering#279109 "-- HikaShop version -- : 3.2.0  Hi, how can I sort variants by price and not by name. Because there was a bug in the ordering of variants in the test. If the ordering is not by name, it gets a bug at the price that did not match the vendor, and I was wondering what was going on.  Correctly displayed price - Order by Alias, Alphabetic  Wrong price indication - Order by ID, Ordering,  I added a new user and still does not sort correctly, it gets the same bug described below even if it is in alphabetical order. User ABV was supposed to be at the top, but it was at the bottom and the price was correctly displayed.")*

Hi the problem remains. There is only one characteristic that is called a vendor.
[ ![1.jpg](/forum/attachment/40490) ](/forum/attachment/40490 "1.jpg")

Maybe I'm wrong thing, this is the setting for vendor.
[ ![2.jpg](/forum/attachment/40491) ](/forum/attachment/40491 "2.jpg")

Variants created by vendors
[ ![3.jpg](/forum/attachment/40492) ](/forum/attachment/40492 "3.jpg")

Settings
[ ![4.jpg](/forum/attachment/40493) ](/forum/attachment/40493 "4.jpg")

[ ![5.jpg](/forum/attachment/40494) ](/forum/attachment/40494 "5.jpg")

- [ ![1.jpg](/forum/attachment/40490) ](/forum/attachment/40490 "1.jpg") [ ](/forum/attachment/40490?download=1 "1.jpg")
- [ ![2.jpg](/forum/attachment/40491) ](/forum/attachment/40491 "2.jpg") [ ](/forum/attachment/40491?download=1 "2.jpg")
- [ ![3.jpg](/forum/attachment/40492) ](/forum/attachment/40492 "3.jpg") [ ](/forum/attachment/40492?download=1 "3.jpg")
- [ ![4.jpg](/forum/attachment/40493) ](/forum/attachment/40493 "4.jpg") [ ](/forum/attachment/40493?download=1 "4.jpg")
- [ ![5.jpg](/forum/attachment/40494) ](/forum/attachment/40494 "5.jpg") [ ](/forum/attachment/40494?download=1 "5.jpg")

Last edit: 9 years 1 month ago by [neo191987](/forum/user/35364-neo191987 "View neo191987's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5MjA2OS1zb3J0LXZhcmlhbnRzLWJ5LXByaWNlLWFuZC1idWctb3JkZXJpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

9 years 1 month ago [\#279159](#279159) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Sort variants by price and bug ordering](/forum/2-general-talk-about-hikashop/892069-sort-variants-by-price-and-bug-ordering#279159 "-- HikaShop version -- : 3.2.0  Hi, how can I sort variants by price and not by name. Because there was a bug in the ordering of variants in the test. If the ordering is not by name, it gets a bug at the price that did not match the vendor, and I was wondering what was going on.  Correctly displayed price - Order by Alias, Alphabetic  Wrong price indication - Order by ID, Ordering,  I added a new user and still does not sort correctly, it gets the same bug described below even if it is in alphabetical order. User ABV was supposed to be at the top, but it was at the bottom and the price was correctly displayed.")*

Hi,

You're supposed to have one variant for each combination of value of the characteristics of the product.
So if you have only one characteristic on the product, each variant should correspond to one value of the characteristic.
Since that's not the case on your screenshots, it explains why it doesn't work properly.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5MjA2OS1zb3J0LXZhcmlhbnRzLWJ5LXByaWNlLWFuZC1idWctb3JkZXJpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.066 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
