I want to create a new sort by option, wich is best sellers... how can i do it ?

I've found this in the admin but i can't create a new option here...

enter image description here

  • Are you using product attribute for marking a product as best seller? Feb 4, 2022 at 13:05
  • @piyush_systematix yes! Feb 4, 2022 at 13:07

2 Answers 2


Go to Stores -> Attributes -> Product.

Edit desired attribute.

Set Used for Sorting in Product Listing to yes. Save attribute. Reload Category edit page in admin.


Following steps to create new product attribute with Filter Option.

  1. Go to Admin Panel > Stores > Attributes > Products
  2. Press the Add New Attribute button
  3. Fill out the Attribute Properties section
  4. Fill out the Advanced Attribue Properties

Choose Yes in Use in Filter Options field if you want this attribute to be used while filtering products.

  1. Save Attribute

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.