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

adding options

Thread began 7/19/2016 11:55 am by Jamie | Last modified 7/19/2016 5:14 pm by Jamie | 228 views | 12 replies

Ray BorduinWebAssist

I'd have to debug where the issue is. Since you are building the options into a string on the top of the page on lines 93-115 my guess is that the error in the logic would be debugged there. It appears you would be adding the options to the cart with the code you have, so I'd guess that the options aren't being built into the AddOption variable correctly to begin with.

I'd start by adding debug code in the IF and two FOR loops like:

if (isset($_POST['ProdOptions'])) {
echo("in IF ");
for ($x=0; $x<sizeof($_POST['ProdOptions']); $x++) {
echo("first FOR ");
for ($y=0; $y<sizeof($_POST['Option_'. $_POST['ProdOptions'][$x]]); $y++) {
die("second FOR ");

That would hopefully identify if the add option code is even running.

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