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

Add to Cart not going to cart.php

Thread began 9/19/2012 9:52 am by Joe Lowery | Last modified 9/20/2012 12:49 pm by Joe Lowery | 7323 views | 5 replies

Joe Lowery

Multiple checkbox selection

Closing in, but not quite there yet. I believe I've set up the multiple checkbox selection correctly, but I'm not sure if I'm displaying it properly.

Here's what I've done so far:
1. Added a new column to eCart object, MixMatchSelections, set to Text.
2. In the Add to Cart behavior on gift-box.php for the Mix Match item, set the new column as updatable. There isn't an option to make it a checkbox, as you suggested, so I set it to a text field.
3. For all checkbox items, I set the name to the generated value and added square brackets, like this: name="muirhead_3_MixMatchSelections_Add[]".
4. On cart.php, I inserted the routine to explode the array that you included in your last post at line 1.
5. In the display area, I added the following code right after the description (where I'd like the list of selections to be shown: <?php echo $muirhead->DisplayInfo("MixMatchSelections"); ?>
(Eventually, I'd like to only show this message conditionally, if there are any such selections. What's the best way to do that?)

So far, no selections are shown on cart.php. I've attached gift_boxes.php and cart.php in hopes you'll take a look.

I really appreciate all your help - this is pretty much the final piece of the puzzle.

Best - Joe

Attached Files

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