When sort the products,product name displayed as ' UNDEFINED' magento1.How to solve this.?


For sorting products using product name you have to use addAttributeToSort('name', 'ASC'); filter on product collection. Try this code it should be work.

Your Answer

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

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