Publisher review:Automatic remove button in shopping cart 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 tags in shopping_cart.php (around line 25)------------------------------------------------------------------------------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 .= '';
Automatic remove button in shopping cart 2.0 is a PHP script for osCommerce Addons scripts design by mr_absinthe.
It runs on following operating system: Windows / Linux / BSD.
Operating system:Windows / Linux / BSD