FoxComm / highlander

Because there can only be one
MIT License
9 stars 3 forks source link

[MWH] Error message on attempt to buy more items than is currently in stock. #1860

Open alexanderfc opened 7 years ago

alexanderfc commented 7 years ago

Preconditions:

  1. Active product with active SKU
  2. SKU has 1 sellable item in stock

Steps to reproduce:

  1. Add SKU from preconditions to the cart in QTY: 2
  2. Try to checkout the cart

Actual result: checkout failed with "SKU is out of stock" error Expected result: error message informs customer that we don't have that much items in stock and probably gives the amount of items he could order.

alexanderfc commented 7 years ago

@jmataya @bswineford do we want to keep actual amount of sellable items in stock in secret, or this information could be revealed to customer?

bswineford commented 7 years ago

@alexanderfc @jmataya I think showing the actual amount of items in inventory is a feature that some retailers like to have, but most do not. I wouldn't worry about putting time into this feature just yet. Seems like one we'd wait to work on for when we have a specific customer request.

annappropriate commented 7 years ago

@bswineford if that makes any difference, @lurym can take this as part of MWH changes. If no, could you close the issue?

lurym commented 7 years ago

This is my proposal for this bug. proposal

Pull request: #2238

annappropriate commented 7 years ago

@alexanderfc @jmataya @bswineford what do you think? ^

jmataya commented 7 years ago

I like it.