close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Adding Checkboxes to Shopping Cart

Thread began 2/02/2010 9:24 am by jbarron397794 | Last modified 2/19/2010 2:57 pm by jbarron397794 | 3555 views | 11 replies

jenbar3378469

Hi Eric,

I did everything you said, but how does the information from the radio buttons carry over to the "confirm.php" page and then to the "checkout_success.php" page? Do I code the td tags with the radio buttons on them the same exact way I did on the "shopping_cart.php" page? And if I do that, how does the information that the user selected hold and carry over to each page???

Also, my code now looks like this (below), but it will not allow the user to uncheck a radio button once they check it. In addition, it is allowing them to select both the "personal" and the "business" radio buttons on the same line item. If you need to sign into to see what I mean, please advise our open ticket in the support section named "setting maximum quantities".

<td width="10%"><input <?php if (!(strcmp($sumidrive1->DisplayInfo("Personal"),"business"))) {echo "checked=\"checked\"";} ?> name="sumidrive1<?php echo $sumidrive1->DisplayIndex; ?>" type="radio" class="eC_QuantityField"id="per2" value="business" /></td>
<td class="eC_PriceItem"><?php echo WA_eCart_DisplayMoney($sumidrive1, $sumidrive1->DisplayInfo("Taxable")); ?> </td>
<td class="eC_PriceItem"><?php echo WA_eCart_DisplayMoney($sumidrive1, $sumidrive1->DisplayInfo("TotalPrice")); ?> </td>

My apologies for my confusion!

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