Automatic SKU creator for attributes

Project:Ubercart Contributions
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description
Project: 
Ubercart

An automatic SKU creator for attributes would be great. Should be written in jQuery and set values of model's input texts something like: PARENTSKU-ATTRIBUTENAME

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Automatic SKU creator for attributes

tassoman, I'm thinking more and more that automatic SKU creation of any sort should be handled by custom modules. You just can't get all use cases into core, so I think it's better to leave it disabled and let developers make their own modules for the edge cases.

juanlacueva's picture
Offline
Joined: 06/03/2009
Juice: 17
Re: Automatic SKU creator for attributes
Assigned to:Ryan» juanlacueva

Actually I think this should be an optional feature but to be included by default. Any person trying to sell goods with different attributes, If he/she has to fill in the fields in the Adjustments tab, if there are several attributes, the combination of each option multiplied by each attibute, makes it almost impossible to do. I don't think should be jQuery either, I have a product with 5 attributes and each attribute has 7 options, meaning I have to fill in around 20 pages of SKUs per product....

There should be an option to add an SKU for each attribute and another option to add the selected option attribute's SKU to the end of the product's SKU.

activelyOUT's picture
Offline
Joined: 04/20/2009
Juice: 70
this is a great feature
Assigned to:juanlacueva» activelyOUT

as I do more with ubercart, I realize how many attributes I could add to a product.

But then, I am stuck trying to go back through and redoing skus.

It would be great to have attribute skus autopopulate like product power kit allows for the main sku.

juanlacueva's picture
Offline
Joined: 06/03/2009
Juice: 17
Re: Re: Automatic SKU creator for attributes
Assigned to:activelyOUT» juanlacueva

Included by default or not, there currently isn't a solution to have a PRODUCT_SKU-ATTRIBUTE_SKU model in Drupal 6.13 and if there is (by custom modules) I haven't found it

Does anyone know how to achieve this?

guybedford's picture
Offline
Joined: 11/19/2010
Juice: 5
#5
Category:» feature request
Assigned to:juanlacueva» Guest

There's some solutions (php and JavaScript) for this on this thread - http://stackoverflow.com/questions/4914579/drupal-6-ubercart-automatical...