InsideDarkWeb.com

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

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??

Magento Asked by Sarvesh Tiwari on February 20, 2021

0 Answers

Add your own answers!

Related Questions

Enable Dynamic price in bundle product

1  Asked on January 9, 2021 by miguel-angel-espinosa-garca

         

Magento 2 hidden products

1  Asked on January 6, 2021 by ramesh-kr

         

Magento 2: Requested store is not found in product

2  Asked on January 3, 2021 by cesarchris710

   

Slow Admin Orders Grid – Magento 2.3.3 Community

0  Asked on January 2, 2021 by alex-heaton

     

Sorting a custom column – Customer Grid

2  Asked on December 31, 2020 by kiwistastegood

       

Mobile-friendly test: Couldn’t load 36 page resources?

1  Asked on December 31, 2020 by vinod-kumar

   

Ask a Question

Get help from others!

© 2021 InsideDarkWeb.com. All rights reserved.