close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

database setup where price depends on size and color,style are options.

Thread began 4/15/2010 12:12 am by sologray | Last modified 12/12/2013 1:16 am by sologray | 6049 views | 12 replies

sologray

Jason,

I got it now! Thank you so much. So now each row in the PRODUCTOPTIONS selects only one color to be associated with the PRODUCTS table. So if I need to choose say
Wefted hair | 12" | jet black | straight

I have to select 3 rows from the PRODUCTOPTIONS table to specify the above selection.
productOptionID | productID | optionID | optionGroupID | optionPriceIncrement
1 |1|1|1|0 here only color(jet black) is selected
20|1|20|2|0 here only size(12") is selected. OptionpriceIncrement is 0(price depends on size and 12" has the base price 200 which is listed in the product table)
26|1|26|3|1 here only style(straight) is selected.

For the inventory product stock, which is option dependent, how would you suggest its fields(columns) look like? so far I know that it must have inventoryID, and a foreign key to connect it to at least one table. which table? will the inventory table be only for the option-dependent products or for all products? after the creation of the inventory table, will eCart handle the webshop or there will be a need for major PHP coding?I think you know the problem I am facing.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...