You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The API does not currently support stock information, but it's a planned feature. And the Product class already contains currentStock and criticalStock properties.
A good feature is adding visual warnings when a given Product's currentStock equals the value of criticalStock, and preventing being added to the cart when their stock reaches 0 (zero).
Additional notes
The most relevant component here is /src/app/store/routes/catalog/product-card
Another component that may be fitting for changes related to this issue is /src/app/management/routes/products
The text was updated successfully, but these errors were encountered:
The API does not currently support stock information, but it's a planned feature. And the
Product
class already containscurrentStock
andcriticalStock
properties.A good feature is adding visual warnings when a given Product's
currentStock
equals the value ofcriticalStock
, and preventing being added to the cart when their stock reaches 0 (zero).Additional notes
/src/app/store/routes/catalog/product-card
/src/app/management/routes/products
The text was updated successfully, but these errors were encountered: