Price filter show negative pricing like -1000- -01 and so on

I have some configurable products in Magento 2 and it shows negative pricing in the layered navigation filter.

Please find the screenshot attached layered navigation issue

Please suggest me a solution.

1 Answer 1


Goto file in vendor Magento\ConfigurableProduct\Model\ResourceModel\Product\Indexer\Price

and change the code aroun line 206

        'min_price' => new \Zend_Db_Expr('io.min_price'),
        'max_price' => new \Zend_Db_Expr('io.max_price'),
        'tier_price' => 'io.tier_price',

and run reindexing.

  • Magento issues #7367, #14443
    – Gediminas
    Oct 11, 2018 at 13:36
  • 2
    Bad answer because you never should edit vendor files.
    – jrswgtr
    Oct 18, 2019 at 9:47

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.