Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misleading notification when updating stock for a variant that is not tracking inventory #2946

Closed
ychaker opened this issue Nov 13, 2018 · 7 comments · Fixed by #2960
Closed
Labels
changelog:solidus_backend Changes to the solidus_backend gem

Comments

@ychaker
Copy link

ychaker commented Nov 13, 2018

Steps to reproduce

  1. Create a product and add at least one variant
  2. Edit the variant and uncheck the "Track Inventory" checkbox
  3. Go to the stock locations tab and try updating the count for the variant you created

You'll see the something like this:
solidus

Expected behavior

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.

Actual behavior

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.

System configuration

Solidus Version: 2.7.0.alpha (we're using edge, tracking the master branch, but haven't updated a few weeks)

Extensions in use:

@jacobherrington
Copy link
Contributor

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?

@vzqzac
Copy link
Contributor

vzqzac commented Nov 13, 2018

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

@seand7565
Copy link
Contributor

Disabling or removing the edit button on non-tracked products makes sense to me.

@kennyadsl
Copy link
Member

@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.

@ychaker
Copy link
Author

ychaker commented Nov 13, 2018

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.

@jacobherrington
Copy link
Contributor

jacobherrington commented Nov 13, 2018

@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?

@aitbw
Copy link
Contributor

aitbw commented Nov 19, 2018

I'll have a look at this one 😸

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_backend Changes to the solidus_backend gem
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants