how create sort by discount in collection page

vinayak21
Visitor
2 0 1

how create sort by discount in collection page.
which code define to set in sort by discount .

Replies 2 (2)
Zworthkey
Shopify Partner
5581 642 1560

@vinayak21 
Welcome to Shopify Community.

you have to Add this filter type using code or app, if you are already a developer then you can customized it, according to your need,
thank you

banned
HarisMemon
Shopify Partner
5 0 0

how to customize it. I've added the option-value. Now, what's the next step