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

parent & child products ?

Thread began 10/16/2012 12:10 pm by CraigR | Last modified 10/18/2012 7:07 am by CraigR | 1047 views | 6 replies

CraigRBeta Tester

parent & child products ?

My client builds and supplies garden buildings, which consist of a core item of various sizes and a number of additional ‘bespoke’ options.
I have added options such as size and colour to the cart object on previous projects, but may need a different route, as the options can be product specific and the client would like the cart display to appear as follows, so that each option is itemised, as it would be in a quotation.

pictured is an example...

I thought about having the ‘child options’ as products in their own right, associating them with the parent product via a parentproductid field in the products table.
The objective would be, on the product detail page, for a customer to choose the product by size, in this case a ‘10x8 basic workshop’ and have all of the child products listed with their options.
The add to cart button would then add both the main product and its associated child products (if selected) into the cart on submission of the form.

I guess I have 2 questions.

Is there a better way to go about this ?
If not, is it possible / desirable to have 2 separate add to cart server behaviors running in series, (ie for the above example, I imagine I would have a simple add to cart behaviour for the parent item, followed by add to cart from recordset for the other items.
Grateful for any suggestions

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





Ease of use


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...