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
Deprecate AbstractOption #1776
Comments
We are currently developing a shop for personalized products and are planning to make heavy use of the AbstractOption functionality as this seems to be it's intended use case. I am still working my way into the oscar concepts so if i got this wrong never mind. Suggestions to continue in a better way are very welcome! |
At the very least, I think there needs to be better documentation for when one might want to use an |
Since |
No, I disagree. Attributes and options are two different things and they need to be kept separate. Attributes are simply structured product information - a way to store information about products in a way that allows you to search/filter based on them. For example, a laptop might have a Options are specific purchase choices that are selected when a customer makes a purchase. e.g., they might be able to select a certain image to be printed on their T-shirt, or select a specific colour for their laptop. The There are some cases where options and attributes look very similar (e.g., the colour of a T-shirt) but these are special cases. For that reason we need to keep them separate. I think the issue here is just one of naming. Maybe we can rename |
How about the case when we need not to fill in option (e.g. example case - SMS text), but select option from choices? E.g. if |
Then those need to be stored as |
Would you create a PR with your intelligible explanation of the topic based on the comment above? 😉 |
Try to make it clearer how these are different from Attributes. Resolves #1776.
Try to make it clearer how these are different from Attributes. Resolves django-oscar#1776.
There was some discussion in #1756 to deprecate
AbstractOption
in favor ofAbstractAttributeOption
.There does seem to be some overlap and it's somewhat confusing when you would want to use one more than the other.
I also have an open PR to add a
MULTI_OPTION
type. #1740The text was updated successfully, but these errors were encountered: