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

Product Block Editor: Track stock toggle not disabled when stock management is disabled #37888

Closed
1 task
louwie17 opened this issue Apr 20, 2023 · 0 comments · Fixed by #37957
Closed
1 task
Assignees
Labels
focus: product management Related to product creation and editing. plugin: woocommerce Issues related to the WooCommerce Core plugin. type: bug The issue is a confirmed bug.

Comments

@louwie17
Copy link
Contributor

louwie17 commented Apr 20, 2023

Description

Currently the track stock management toggle is not being disabled when the stock management setting is disabled. This leaves some confusing behaviour where it looks like the changes are not being persisted ( see video ).
We should disable the toggle if the Enable stock management is disabled within the Products > Inventory settings menu.

Kapture.2023-04-20.at.15.43.07.mp4

Acceptance criteria

  • Track stock quantity for this productshould be disabled whenEnable stock management` within settings is disabled, and enabled otherwise.
@github-actions github-actions bot added the status: awaiting triage This is a newly created issue waiting for triage. label Apr 20, 2023
@louwie17 louwie17 added type: bug The issue is a confirmed bug. plugin: woocommerce Issues related to the WooCommerce Core plugin. focus: product management Related to product creation and editing. and removed status: awaiting triage This is a newly created issue waiting for triage. labels Apr 20, 2023
@louwie17 louwie17 changed the title Product Block Editor: Fix track stock and available quantity not being persisted Product Block Editor: Track stock toggle not disabled when stock management is disabled Apr 20, 2023
@mdperez86 mdperez86 self-assigned this Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus: product management Related to product creation and editing. plugin: woocommerce Issues related to the WooCommerce Core plugin. type: bug The issue is a confirmed bug.
Projects
None yet
2 participants