TransWikia.com

How to set null attribute value of product in last in sorting on product listing page in Magento 2?

Magento Asked by Sarvesh Tiwari on February 20, 2021

Sorting Product As per attribute value

enter image description here
when I sort product by attribute name (sequence_attribute) on the product listing page then I will get the null value product first, but I need it in last. I have to ignore the null attribute value.

I have tried in gridr.phtml for ASC and DSC but it’s not what I want.

Can anyone help me??

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP