You'll see the something like this:

I expect one of 2 things to happen:
Option A: The stock count is updated successfully
Option B: The message tell me as a user that the count was not updated because the variant is set to not track inventory.
What actually happens is that I get a success message telling me the count was updated, when it wasn't, which is misleading to a regular user, especially if it wasn't the same person who unchecked the track inventory option.
Solidus Version: 2.7.0.alpha (we're using edge, tracking the master branch, but haven't updated a few weeks)
Extensions in use:
Which of these two expected behaviors is ideal? I feel like if a product is set to "do not track" then we shouldn't allow changes to the count, but does anyone else feel different?
I agree with that @jacobherrington, having a product that does not track inventory to actually count the inventory might be a very special use case
Disabling or removing the edit button on non-tracked products makes sense to me.
@seand7565 maybe disabling the count on hand input field is better? The edit button is still needed if you need to change the track inventory option to false for example.
from working with people who manage the products but are very tech averse, I would say that if you disable or remove the ability to edit the count, please also add a tooltip or something explaining why. it's a tiny thing that would go a long way.
@ychaker yes, I think there should be some indication for sure.
@ychaker would you like to make a PR for the change Alberto has recommended?
I'll have a look at this one :smile_cat:
Most helpful comment
I'll have a look at this one :smile_cat: