This contribution will make the remove checkbox in the shopping cart automatically update and remove the item when customer clicks the checkbox (no need for them to click "update") 1 ) Add this between the <head></head> tags in shopping_cart.php (around line 25) -------------------------------------- <script type="text/javascript" language="JavaScript"><!-- function DoSubmission() { document.cart_quantity.submit(); } //--></script> ---------------------------------------- 2 ) Search for: ---------------------------------------- 'text' => tep_draw_checkbox_field('cart_delete[]', $products[$i]['id'])); ---------------------------------------- Change to: ---------------------------------------- 'text' => tep_draw_checkbox_field('cart_delete[]', $products[$i]['id'], ' ', 'onClick="DoSubmission();"')); ---------------------------------------- 3 ) in file includes/functions/html_output.php search for: (around line 189) ---------------------------------------- if ( ($checked == true) || ( isset($GLOBALS[$name]) && is_string($GLOBALS[$name]) && ( ($GLOBALS[$name] == 'on') || (isset($value) && (stripslashes($GLOBALS[$name]) == $value)) ) ) ) { $selection .= ' CHECKED'; ------------------------------------------ Change to: ----------------------------------------- if ( ($checked == true) || ( isset($GLOBALS[$name]) && is_string($GLOBALS[$name]) && ( ($GLOBALS[$name] == 'on') || (isset($value) && (stripslashes($GLOBALS[$name]) == $value)) ) ) ) { $selection .= ''; ----------------------------------------- and thats it, enjoy

Files