DivanteLtd / magento1-vsbridge-indexer

This is an official, native Vue Storefront data indexer for Magento 1.9
https://vuestorefront.io
MIT License
18 stars 24 forks source link

Reflecting stock_status in is_in_stock #23

Closed indiebytes closed 5 years ago

indiebytes commented 5 years ago

We're currently working on implementing VSF for a really old M1 solution. They don't show out of stock products. For some configurable products, stock_status and is_in_stock differs in Magento, stock_status is 0 and is_in_stock is 1. These products are not listed or shown in Magento frontend (as expected), but they are shown in VSF. From what I can see VSF only filters on is_in_stock which explains the different output of product listings.

As I see it this could be adjusted quite simply by one or more of the following actions:

From a brief dialogue with @pkarw in the Slack channel, we've come to the conclusion that the best cleanest solution probably is to adjust the logic in the indexer.