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_state: allow to set state per product variant #1714

Open
diggy128 opened this issue Sep 3, 2024 · 0 comments
Open

product_state: allow to set state per product variant #1714

diggy128 opened this issue Sep 3, 2024 · 0 comments

Comments

@diggy128
Copy link

diggy128 commented Sep 3, 2024

Is your feature request related to a problem?
You cannot set a state for a variant without affecting the template product (and thus all variants).
Let's say you have a template product eg T-shirt with 4 different variants by color (black, white, red, blue).
Let's assume that the blue ones are so low on sales that you decide to stop selling that variant (while keeping the rest).
It should be possible to set state only for the blue one as obsolete while keeping the others as sellable.

Describe the solution you'd like
Disconnect (or even drop) state from product.template.
Product count should be on product variants to reflect the number of variants in that state (since it's the variants that affect the stock available).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant