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

#   Sort by biggest discount

##

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

8 years 6 months ago [\#292922](#292922) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  *[Sort by biggest discount](/forum/26-product-category-display/894755-sort-by-biggest-discount#292922 "Hi,  Is there a way to sort products by the biggest discount? If not, could you please consider to add this.  Thank you")* was created by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")*

Hi,

Is there a way to sort products by the biggest discount? If not, could you please consider to add this.

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTQ3NTUtc29ydC1ieS1iaWdnZXN0LWRpc2NvdW50P3RtcGw9bWFya2Rvd24=) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 6 months ago [\#292926](#292926) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Sort by biggest discount](/forum/26-product-category-display/894755-sort-by-biggest-discount#292926 "Hi,  Is there a way to sort products by the biggest discount? If not, could you please consider to add this.  Thank you")*

Hello,

It would require a custom plugin and the code would be very complex since the discount is not part of the product or prices ; and is fully dynamic depending the user group, etc.
The level of complexity and the required queries would be difficult to handle ; specially if you want to perform a "sort" on it.

Regards,

---

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

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

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

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

Less More

- Posts: 2
- Thank you received: 0
-
-

4 years 5 months ago [\#342827](#342827) by [cecilgupta](/forum/user/59741-cecilgupta "View cecilgupta's Profile")  Replied by *[cecilgupta](/forum/user/59741-cecilgupta "View cecilgupta's Profile")* on topic *[Sort by biggest discount](/forum/26-product-category-display/894755-sort-by-biggest-discount#342827 "Hi,  Is there a way to sort products by the biggest discount? If not, could you please consider to add this.  Thank you")*

I need the products sorting by which has highest percent of discount.
My site has 3-4 types of discount - e.g 10,20,30 and 50%
Now I wish to have a sort by discount percent filter.
Where first 50%, then 30%, then 20% and then 10% products are shown.
Don't have to worry about actual price as buyers are more interested in the ratio of fall.
This should be there and seems easy to achieve. Can you do it?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTQ3NTUtc29ydC1ieS1iaWdnZXN0LWRpc2NvdW50P3RtcGw9bWFya2Rvd24=) 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: 86593
- Thank you received: 14334
-
-

4 years 5 months ago [\#342832](#342832) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Sort by biggest discount](/forum/26-product-category-display/894755-sort-by-biggest-discount#342832 "Hi,  Is there a way to sort products by the biggest discount? If not, could you please consider to add this.  Thank you")*

Hi,

As Jerome said before, with a custom plugin it could be done. If you're interested by having use develop that plugin for you, please go through our contact page to discuss the details:
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

One alternative might be to create a "products on sale" page on your website. You could do that with a menu item of the type "products listing". In it, you can activate the "discount onlty" setting and it will only display discounted products.

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

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