0

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 layered navigation filter.

Please find screenshot attached layered navigation issue

Please suggest me some solution.

1

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

and change the code aroun line 206

$select->columns(
    [
        '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 '18 at 13:36

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.