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

#   order products by value

##

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

Less More

- Posts: 23
- Thank you received: 2
-
-

13 years 6 months ago [\#102632](#102632) by [elucidbusiness](/forum/user/8174-elucidbusiness "View elucidbusiness's Profile")  *[order products by value](/forum/4-how-to/81463-order-products-by-value#102632 "Hi  Web server crashed, so I have to setup everything again (yes, should have made a backup).  How can I by default show products in order of ascending value?  Cheers")* was created by *[elucidbusiness](/forum/user/8174-elucidbusiness "View elucidbusiness's Profile")*

Hi

Web server crashed, so I have to setup everything again (yes, should have made a backup).

How can I by default show products in order of ascending value?

Cheers

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxNDYzLW9yZGVyLXByb2R1Y3RzLWJ5LXZhbHVlP3RtcGw9bWFya2Rvd24=) 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)
-

13 years 6 months ago [\#102654](#102654) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[order products by value](/forum/4-how-to/81463-order-products-by-value#102654 "Hi  Web server crashed, so I have to setup everything again (yes, should have made a backup).  How can I by default show products in order of ascending value?  Cheers")*

Hi,

Where do you want to change the order ?
In the front-end, back-end ? In a menu ? A module ?

Regards,

---

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

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

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

Less More

- Posts: 23
- Thank you received: 2
-
-

13 years 6 months ago [\#102661](#102661) by [elucidbusiness](/forum/user/8174-elucidbusiness "View elucidbusiness's Profile")  Replied by *[elucidbusiness](/forum/user/8174-elucidbusiness "View elucidbusiness's Profile")* on topic *[order products by value](/forum/4-how-to/81463-order-products-by-value#102661 "Hi  Web server crashed, so I have to setup everything again (yes, should have made a backup).  How can I by default show products in order of ascending value?  Cheers")*

Hi Jerome

I'm wanting to change in the front-end.

I had it on my previous installation - I think I may have modified some code - but can't remember what I did.

Cheers

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 6 months ago [\#102665](#102665) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[order products by value](/forum/4-how-to/81463-order-products-by-value#102665 "Hi  Web server crashed, so I have to setup everything again (yes, should have made a backup).  How can I by default show products in order of ascending value?  Cheers")*

Hi,

Depending on which value ?

In the menu/module configuration, you can set the order via the option "Ordering direction" and the value on which you want to order via "Ordering field".

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

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

Less More

- Posts: 23
- Thank you received: 2
-
-

13 years 6 months ago [\#103535](#103535) by [elucidbusiness](/forum/user/8174-elucidbusiness "View elucidbusiness's Profile")  Replied by *[elucidbusiness](/forum/user/8174-elucidbusiness "View elucidbusiness's Profile")* on topic *[order products by value](/forum/4-how-to/81463-order-products-by-value#103535 "Hi  Web server crashed, so I have to setup everything again (yes, should have made a backup).  How can I by default show products in order of ascending value?  Cheers")*

Hi Xavier

I want to order my products within a category in ascending order using the field price_value

I cannot find an this option as the ordering field in the parameters.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxNDYzLW9yZGVyLXByb2R1Y3RzLWJ5LXZhbHVlP3RtcGw9bWFya2Rvd24=) 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)
-

13 years 6 months ago [\#103548](#103548) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[order products by value](/forum/4-how-to/81463-order-products-by-value#103548 "Hi  Web server crashed, so I have to setup everything again (yes, should have made a backup).  How can I by default show products in order of ascending value?  Cheers")*

Hi,

Ordering on the price is not possible and it has never been.
Between currencies, discounts, ACL, quantities... There are too variables to make a good and faster ordering.
But you can fill the "msrp price" and sort on this field.

Regards,

---

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

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

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

Less More

- Posts: 23
- Thank you received: 2
-
-

13 years 6 months ago [\#103592](#103592) by [elucidbusiness](/forum/user/8174-elucidbusiness "View elucidbusiness's Profile")  Replied by *[elucidbusiness](/forum/user/8174-elucidbusiness "View elucidbusiness's Profile")* on topic *[order products by value](/forum/4-how-to/81463-order-products-by-value#103592 "Hi  Web server crashed, so I have to setup everything again (yes, should have made a backup).  How can I by default show products in order of ascending value?  Cheers")*

Well it is possible, because I had it working on my site for nearly a year.

Ok, let's take a different approach.

I can create a filter on price.

How can I automatically apply this filter? That is, by default the filter is in ascending order -- the user doesn't have to select ascending from the drop down list.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxNDYzLW9yZGVyLXByb2R1Y3RzLWJ5LXZhbHVlP3RtcGw9bWFya2Rvd24=) 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
-
-

13 years 6 months ago [\#103603](#103603) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[order products by value](/forum/4-how-to/81463-order-products-by-value#103603 "Hi  Web server crashed, so I have to setup everything again (yes, should have made a backup).  How can I by default show products in order of ascending value?  Cheers")*

Hi,

There was never such option in HikaShop. Filters cannot be applied by default to a listing and the price_value cannot be used as an ordering value in a listing.
However, if you enter the retail price in your products, you can order them by retail price by selecting the product_msrp column in the "ordering column" option of your product listing menus/modules.

It is potentially possible to modify the product listing main MySQL with a hikashop plugin and add a left join to the hikashop_price table and order by the price_value if you want. The trigger to use is this one:
[ www.hikashop.com/en/support/documentatio...reProductListingLoad](http://www.hikashop.com/en/support/documentation/62-hikashop-developer-documentation.html#onBeforeProductListingLoad)
That however requires to know programing so you might need the help of a developer.

The following user(s) said Thank You: [elucidbusiness](/forum/user/8174-elucidbusiness "View elucidbusiness's Profile")

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

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

Less More

- Posts: 23
- Thank you received: 2
-
-

13 years 6 months ago [\#104106](#104106) by [elucidbusiness](/forum/user/8174-elucidbusiness "View elucidbusiness's Profile")  Replied by *[elucidbusiness](/forum/user/8174-elucidbusiness "View elucidbusiness's Profile")* on topic *[order products by value](/forum/4-how-to/81463-order-products-by-value#104106 "Hi  Web server crashed, so I have to setup everything again (yes, should have made a backup).  How can I by default show products in order of ascending value?  Cheers")*

ok, so I've added a trigger to mysql to update the product_msrp field when the price_value field changes. This works well.

However, I now have common price showing on my website for the product view:

Common price: 49,70 € ($58.68)
Our price: $64.55 each

How do I hide the common price?

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

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

Less More

- Posts: 23
- Thank you received: 2
-
-

13 years 6 months ago [\#104110](#104110) by [elucidbusiness](/forum/user/8174-elucidbusiness "View elucidbusiness's Profile")  Replied by *[elucidbusiness](/forum/user/8174-elucidbusiness "View elucidbusiness's Profile")* on topic *[order products by value](/forum/4-how-to/81463-order-products-by-value#104110 "Hi  Web server crashed, so I have to setup everything again (yes, should have made a backup).  How can I by default show products in order of ascending value?  Cheers")*

Don't worry, fixed it.

The following user(s) said Thank You: [Jerome](/forum/user/80-jerome "View Jerome's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxNDYzLW9yZGVyLXByb2R1Y3RzLWJ5LXZhbHVlP3RtcGw9bWFya2Rvd24=) 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.066 seconds

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