close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
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 | 204 views | 2 replies

Justin@AdventDesign

How are Product Options normally written to the orderdetails table?

I've been following the Product Options tutorial (http://www.webassist.com/community/tutorials/view_tutorial.php?tid=63&RID=5&SID=130520_optionstut) 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?

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