2

I have a website created with magento 2 and it is working perfectly.

After adding a bunch of products, We've encountered some issues with it's sorting. Sorting is not working properly most times.

For example sorting with custom attribute product Net Weight, which results in First five or six with proper value (11,12,13,14) after that it shows (100,102,105 etc).

Then again it shows lower values. I have not yet done any changes to the core function.

Here is the link to the site Link to the category with net weight sorting

I think you guys can help me with it.

2
  • Do reindex by this command: php bin/magento indexer:reindex Commented Sep 21, 2017 at 7:01
  • @PrincePatel i did it many times. But no changes found Commented Sep 21, 2017 at 7:25

1 Answer 1

1

To set the custom attributes for sorting in listing page. Kindly go to the admin Stores->Configuration->Catalog->Catalog->Product Listing Sort by-> set your custom attributes.

Now it is working fine.

Your Answer

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

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