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

Exclusive Product Attributes - use case #16

Open
MDrollette opened this issue Jun 9, 2011 · 1 comment
Open

Exclusive Product Attributes - use case #16

MDrollette opened this issue Jun 9, 2011 · 1 comment
Labels

Comments

@MDrollette
Copy link

There isn't much existing in the way of product attributes at all yet, but I just wanted to throw in one of my use-cases to get a conversation going.

I have products such as team jerseys that can have attributes such as "jersey number" which can only be purchased by one customer, first-come-first-serve style. Notice it's not purchased only once: One customer could buy 4 jersey's with "#10" or just 1 but in either case no other customer (no other Order even) should be able to buy a jersey with that same attribute value. I am wondering on what level this would fall. It's sort of an inventory thing, but it also seems like the idea of an "exclusive attribute value" could exist irrespective of any inventory tracking... thoughts?

@inspiran
Copy link
Member

inspiran commented Jun 9, 2011

I presume that you only want to limit the jersey number to a customer and not to one order. The customer could want to order multiple batches of the same jersey at different times.

This requirement does not really relate to inventory because the product is not yet manufactured at that time. The check should be ideally done when a product is added to the shopping cart. You would need to store the link between each product group (for which you want to have jersey numbers unique) with the customer and verify if the association is present. I'm not sure this should be in the Vespolina core but we should at least foresee a hook to have this kind of check implemented.

Can you please add this to the Use cases section on our wiki?

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

No branches or pull requests

2 participants