Quote Originally Posted by linuxguy2 View Post
Thank You for responding so quickly!

To clarify:
1:
A textbox populated with the minimum amount.
2:
The ability to edit that amount.
3:
Nothing gets submitted until the checkbox is checked and "Add Selected to Cart" is clicked.
4:
The other features may come in handy in the future.
5:
Below is a mock up (1 row) of my current designClick image for larger version. 

Name:	mockup.jpg 
Views:	87 
Size:	24.0 KB 
ID:	17996.

Thanks,
Ok, figured it out...

Apparently, the ZC function zen_not_null now operates differently than it used to or did in my previous testing. I say this because in each of the modified template files, there is this "generic" code that is intended to create a hidden field. To correct the issue described above, change the Boolean true to a string 'true' as below.
From:
Code:
    if ((PRODUCT_ALL_LISTING_MULTIPLE_ADD_TO_CART > 0) && (PRODUCT_ALL_CHECKBOX_TEXTBOX_ACTIVE == true)) {
        echo zen_draw_hidden_field('check_text_active', true); 
    }
Code:
    if ((PRODUCT_ALL_LISTING_MULTIPLE_ADD_TO_CART > 0) && (PRODUCT_ALL_CHECKBOX_TEXTBOX_ACTIVE == true)) {
        echo zen_draw_hidden_field('check_text_active', 'true'); 
    }
by changing true to 'true' (don't modify other logic around it.

Perhaps the easiest way to find the area(s) to modify would be to use the developers toolkit and search for:
check_text_active


Another correction I made in editing the code was in the shopping_cart class to bypass a foreach loop if there is nothing to process in the loop changing:
Code:
        if ($multiAddCheck == true && (PRODUCT_ALL_CHECKBOX_TEXTBOX_ACTIVE == '1' || PRODUCT_FEATURED_CHECKBOX_TEXTBOX_ACTIVE == '1' || PRODUCT_NEW_CHECKBOX_TEXTBOX_ACTIVE == '1' || PRODUCT_LISTING_CHECKBOX_TEXTBOX_ACTIVE == '1')){
          //reset($_POST['products_id2']);
          
          foreach ($_POST['products_id2'] as $key2 => $val2) {
to:

Code:
        if ($multiAddCheck == true && (PRODUCT_ALL_CHECKBOX_TEXTBOX_ACTIVE == '1' || PRODUCT_FEATURED_CHECKBOX_TEXTBOX_ACTIVE == '1' || PRODUCT_NEW_CHECKBOX_TEXTBOX_ACTIVE == '1' || PRODUCT_LISTING_CHECKBOX_TEXTBOX_ACTIVE == '1')){
          //reset($_POST['products_id2']);
          
          if (!isset($_POST['products_id2'])) continue;
          
          foreach ($_POST['products_id2'] as $key2 => $val2) {
I'll see about getting an update together for distribution. There are some minor code improvements, but the two changes made above corrected the overall issue(s) encountered.