ssolovey / ecp

ECP - Ecommerce project based on Magento
Open Software License 3.0
1 stars 0 forks source link

Fix Product Inventory Issue #341

Closed SkyLark closed 8 years ago

SkyLark commented 8 years ago

We need to keep inventory consistent. Please check primary and secondary warehouses for shipping estimation (as it is done now so just keep this logic). For inventory when product is sold please update warehouse and stock availability.

also please reference to issue https://github.com/ssolovey/ecp/issues/317

SkyLark commented 8 years ago

The issue was fixed by the following way.

If the Product Inventory is 0 or Stock availabiity is "Out of stock" the following message will appear.

image

This Inventory check was always there. As we changed the Logic with shipping estimations the previous logic was outdated.

For testing go to the admin page and manually put product availability to 0 or set Stock Availability to "out of stock" in other case the user can proceed with the order.