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

#   Sorting by price in backend items list is not OK

##

- **[pepecortez](/forum/user/31475-pepecortez "View pepecortez's Profile")**
- [![pepecortez's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31475-pepecortez "View pepecortez's Profile") Topic Author
- [ Offline](/forum/user/31475-pepecortez)

Less More

- Posts: 171
- Thank you received: 9
-
-

7 years 7 months ago [\#306004](#306004) by [pepecortez](/forum/user/31475-pepecortez "View pepecortez's Profile")  *[Sorting by price in backend items list is not OK](/forum/35-orders-management/897354-sorting-by-price-in-backend-items-list-is-not-ok#306004 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.5 -- PHP version -- : 7.0.31  Hi!  I'd like to ask for some advice as I'm trying to sort our items in the backend hikashop items list by price, but unfortunately the items not sorted correctly. Any advice to solve that problem would be greatly appreciated!  Thanks, PePe")* was created by *[pepecortez](/forum/user/31475-pepecortez "View pepecortez's Profile")*

-- HikaShop version -- : 4.0.3
-- Joomla version -- : 3.9.5
-- PHP version -- : 7.0.31

Hi!

I'd like to ask for some advice as I'm trying to sort our items in the backend hikashop items list by price, but unfortunately the items not sorted correctly. Any advice to solve that problem would be greatly appreciated!

Thanks,
PePe

- [ ![pricelisting.JPG](/forum/attachment/46679) ](/forum/attachment/46679 "pricelisting.JPG") [ ](/forum/attachment/46679?download=1 "pricelisting.JPG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NzM1NC1zb3J0aW5nLWJ5LXByaWNlLWluLWJhY2tlbmQtaXRlbXMtbGlzdC1pcy1ub3Qtb2s/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

7 years 7 months ago [\#306005](#306005) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Sorting by price in backend items list is not OK](/forum/35-orders-management/897354-sorting-by-price-in-backend-items-list-is-not-ok#306005 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.5 -- PHP version -- : 7.0.31  Hi!  I'd like to ask for some advice as I'm trying to sort our items in the backend hikashop items list by price, but unfortunately the items not sorted correctly. Any advice to solve that problem would be greatly appreciated!  Thanks, PePe")*

Hello,

In the backend, the product are stored via the value stored in the "product sort price". It's a standard price generated on the default currency, for guest users, for a single quantity, without any tax or discount.
If you do have special prices or discounts, the sort might looks incorrect even if it's not really.
In order to provide good performances, we generate and use that "sort price" so we don't have to process all product prices of your store (which could be huge) to then perform a sorting.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NzM1NC1zb3J0aW5nLWJ5LXByaWNlLWluLWJhY2tlbmQtaXRlbXMtbGlzdC1pcy1ub3Qtb2s/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[serbofleconcepts](/forum/user/37141-serbofleconcepts "View serbofleconcepts's Profile")**
- [![serbofleconcepts's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar37141.gif)](/forum/user/37141-serbofleconcepts "View serbofleconcepts's Profile")
- [ Offline](/forum/user/37141-serbofleconcepts)

Less More

- Posts: 158
- Thank you received: 5
-
-

7 years 4 months ago [\#308182](#308182) by [serbofleconcepts](/forum/user/37141-serbofleconcepts "View serbofleconcepts's Profile")  Replied by *[serbofleconcepts](/forum/user/37141-serbofleconcepts "View serbofleconcepts's Profile")* on topic *[Sorting by price in backend items list is not OK](/forum/35-orders-management/897354-sorting-by-price-in-backend-items-list-is-not-ok#308182 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.5 -- PHP version -- : 7.0.31  Hi!  I'd like to ask for some advice as I'm trying to sort our items in the backend hikashop items list by price, but unfortunately the items not sorted correctly. Any advice to solve that problem would be greatly appreciated!  Thanks, PePe")*

Jerome, I have a similar issue. I have sorted my category listings using the 'product sort price' and I've added a sort by price filter too. I am seeing issues with discounted prices. Is there no way around this? It's important to show the actual lowest price in my opinion. Why can't this be added as a new feature?

Thanks.

[ ![sort.JPG](/forum/attachment/47142) ](/forum/attachment/47142 "sort.JPG")

- [ ![sort.JPG](/forum/attachment/47142) ](/forum/attachment/47142 "sort.JPG") [ ](/forum/attachment/47142?download=1 "sort.JPG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NzM1NC1zb3J0aW5nLWJ5LXByaWNlLWluLWJhY2tlbmQtaXRlbXMtbGlzdC1pcy1ub3Qtb2s/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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: 86583
- Thank you received: 14324
-
-

7 years 4 months ago [\#308201](#308201) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Sorting by price in backend items list is not OK](/forum/35-orders-management/897354-sorting-by-price-in-backend-items-list-is-not-ok#308201 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.5 -- PHP version -- : 7.0.31  Hi!  I'd like to ask for some advice as I'm trying to sort our items in the backend hikashop items list by price, but unfortunately the items not sorted correctly. Any advice to solve that problem would be greatly appreciated!  Thanks, PePe")*

Hi,

The problem is that different users can have different discounts. And the "product sort price" is calculated in the backend when you create/edit the product and there is only one sort price for one product.

Now, you can use mass actions to change the sort price to whatever you want. If you create a mass action with an action "display the values" with the product_id, product_name, price_value and product_sort_price, once you process the mass action, you'll get a table where you can double click on a cell of the sort price column and change it to whatever you want and the fiilter will then take that change into account.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NzM1NC1zb3J0aW5nLWJ5LXByaWNlLWluLWJhY2tlbmQtaXRlbXMtbGlzdC1pcy1ub3Qtb2s/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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.059 seconds

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