If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Ecommerce Problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-14-11, 03:42
Jay1b Jay1b is offline
Registered User
 
Join Date: Feb 2004
Posts: 9
Ecommerce Problem

Morning

I currently manage a rather large web based commerce site selling items of clothing.

Currently we have 'Products' and 'Product Options'. Products maybe something like 'Stripey Sweater', and each product option would be colour. Each colour has its own barcode.

We're looking at adding sizes to the site. 'Stripey Sweater - Blue - Small' would really need to be a different product option to 'Stripey Sweater - Blue - Large'. However ideally I'd need to tie the two together.

I have a few ideas floating around my head, but was just wondering whether anybody could give me some alternatives or suggestions?

Thanks
Jay
Reply With Quote
  #2 (permalink)  
Old 04-14-11, 07:35
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
size would be another product option
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 04-14-11, 09:29
Jay1b Jay1b is offline
Registered User
 
Join Date: Feb 2004
Posts: 9
Yes I know, however I need a mechanism to say they're related somehow. Then the user can select a size from a dropdown box. I could either use a pigear approach or a linking table.
Reply With Quote
  #4 (permalink)  
Old 04-14-11, 09:37
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
Quote:
Originally Posted by Jay1b View Post
I need a mechanism to say they're related somehow.
product_id should do nicely
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On