Add product code for each product and attributes combination?

djvern

Avatar: djvern

2008-04-25 11:47

Hi,

Is there any way to generate a product code for each product and it's attributes? For example, I'm working on a website that sells t-shirts. Each t-shirt can have a different size, colour and wording to go on the front, and I've set these up as attributes rather than completely separate products. Have a look here:

http://www.airsngraces.net/shop_gents.html

Ideally I'd like to have a code for each product and attribute combination, to be shown as a 'Product code' column in the basket. Is this possible with Quickcart?

» Quick.Cart v1.x

Dave Vernon

djvern

Avatar: djvern

2008-04-28 17:02

I guess from the lack of responses this isn't possible! However, I was thinking what if I include a shorthand code with each attribute - i.e for size I could have 01 - XS, 02 - S/M 03 - M/L and 04 - XL. Then for colour I could add something like BL - black, RE - red, NA - navy, etc. With some clever PHP would it then be possible to extract the first 2 characters of each attribute field and have this displayed in a separate column in the basket? So for example '01RE' would mean XS Red. These codes are only needed as a shorthand reference to make some manual stock control easier (my client wants to keep an Excel spreadsheet file of all her stock which she will update when an order is sent out)... - if anyone knows how to do this or something similar, please let me know!

Dave Vernon

Back to top
about us | contact