SKU not unique?

Posts: 13
Joined: 03/11/2008

Hi,

I have just found (by accident) that there is no enforcement of a unique SKU per product. Is this by design? I haven't got loads of retail experience but I would have thought it ought to be a unique code.

Regards,

- Paul

Posts: 5245
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

My general thought is that we shouldn't force this by default. In Ubercart, there isn't a 1 to 1 correlation between nodes and SKUs in a store, particularly because of the ability to provide attributes w/ adjustments that make one product node function as the page for several different SKUs. There is a Unique SKU contrib if you want this functionality, though.

Posts: 13
Joined: 03/11/2008

Thanks Ryan, I'd overlooked that contribution. That'll do the job nicely and I can see why some people might not want unique SKUs "out of the box".

Regards,

- Paul