Hello Jason, In reference to your last post, we would like to discover where we are going wrong at, I'll respond to what we have done based upon your statements and hopefully you can show us what we have failed to do correctly Thanks!!
J: the items are not being added to the caret because you added the check boxes for the sandwich options manually instead of through the add to cart button.
Erick: We are working on only the lunch section of the page, the other check boxes have not been deleted - sorry about the confusion. This is what we did for the sandwich section:
1: Added a column for each sandwich option in the eCart Object
2: We added an add to cart button that includes all sandwich options, and made them all updateable, and changed the "text" type to "checkbox" in the code, once we did that the text boxes changed to check boxes within the add to cart form area (red dotted line area)
3. We created a new order display page and grouped the sandwich options with the previous column, and then tested the order process.
All sandwich options are displayed however our sandwich choices are defined i.e. type of sandwich that I chose are not apparent no check box, etc. are apparent.
You need to create a column in your cart for each sandwich option, and set that column to be update from a text box in the add to cart button to have eCart create the text box for you, then change the type attribute:
type="text"
to:
type="chcekobox"
Erick: explained in previous paragragh
top hide the column add an if statement around it, for example:
[php]
<?php if($cupcake1->DisplayInfo("HummusWrap") != "") { ?>
<p class="eC_ItemHummusWrap">HummusWrap: <?php echo $cupcake1->DisplayInfo("HummusWrap"); ?></p>
<?php } ?>
Erick: Is this a show if command in the drop down section of the server behaviors? i.g.
Server Behaviors > + > Show if Recordset is Not Empty.
Thank you!
Erick