doofinder / doofinder-magento2

Open Software License 3.0
10 stars 9 forks source link

Calculate availability using all providers #190

Closed sofia-doofinder closed 2 years ago

sofia-doofinder commented 2 years ago

There are some magento2 users that have multiple providers for a product. Actually when we're providing the stock_items attributes we're using only the "default provider" to calculate is the product is in stock or out of stock. Would be interesing if we obtain this value taking all availables providers and not just de "default" because can occour that one product is available with another provider and we're showing the product as out of stock.

image.png

Example of customer with this problem: https://doofinder.freshdesk.com/a/tickets/76885

sofia-doofinder commented 2 years ago

I've seen that in the new module we're using the class \Magento\InventoryCatalogApi\Api\DefaultStockProviderInterface that wasn't used in the magently plugin. Seems that this clase only take care about the default provider not all of them.

Aitor-Corrales commented 2 years ago

Hey team! Please add your planning poker estimate with Zenhub @Aitor-Corrales @abraham-doofinder @eduardogomez97 @ivan-doofinder @sofia-doofinder