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


How are Product Options normally written to the orderdetails table?

Thread began 7/16/2013 11:31 am by Justin@AdventDesign | Last modified 7/16/2013 2:12 pm by Justin@AdventDesign | 248 views | 2 replies |


How are Product Options normally written to the orderdetails table?

I've been following the Product Options tutorial ( and have product options up and working on my detail and cart pages, and the info is setting properly in the eCart. I've also got the database admin pages set to select options available for the products and all seems to be working well.

My question: The tutorial seems to end at getting the info into the eCart and displaying it on the cart.php page. I understand how to display that info on the confirm.php page and write it to a database table, but what is the proper way to handle that data in the orderdetails table? My first inclination is to create an additional column in the orderdetails table for "size", and write the option info to that. But if at some point we have many options for different products, I'd be adding new columns for each and every one. I'm guessing there's another way I should approach it. Is there an additional tutorial for this end of the options process? If not, what is the standard way for handling that data in the orderdetails table?

Sign in to reply to this post

Jason ByrnesWebAssist

normally, product options are written to the order details table each in it's own column.

for each option type, you would need to add a new column, and in the store order details table, bind the new option type column to the new column in the eCart object.

in reality, for each option type, you will need to edit the eCart object to add a new column, and edit the add to cart button to use the new option column.

It would be possible to expand on the options tutorial and make it more dynamic so that all options are stored in one options column of the cart, but this would require quite a bit of custom coding to accomplish.

we could help with configuring this in a premiere support appointment.

Sign in to reply to this post


Thanks Jason

I think we'll keep it simple for now and just add a column in the order details table.

Sign in to reply to this post

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