Case : i have create attribute name : Populairty attribute details as below , i have set Used for Sorting in Product Listing as yes , value of it can be as

1: yes 2: no 3: very popular

i want to use it in sorting so products with value yes (or very popular or no depending on selection ) will show on top then rest of products.

it is is is not possible by default we need to use ORDER BY FIELD sorting , beign new to magento i have no idea how to use order by fields for sorting products on listing page

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.