kevinmiami Posted April 28, 2006 Posted April 28, 2006 Does anyone know how to remove the Line: If found the following in the checkout_sucess.php file: "Please notify me of updates to the products I have selected below:" and was able to remove it BUT how do u remove the actual product checkboxes that appear below that?? it's not in the column_left.php or column_right.php files either. SOOOO FRUSTRATING!!!!!!!! HELP! hahaha thanks so much for any help!
mtechama Posted April 28, 2006 Posted April 28, 2006 to remove "Please notify me of updates to the products I have selected below:" in checkout_sucess.php go to includes/languages/english/checkout_sucess.php and look for this line: define('TEXT_NOTIFY_PRODUCTS', 'Please notify me of updates to the products I have selected below:'); and do this //define('TEXT_NOTIFY_PRODUCTS', 'Please notify me of updates to the products I have selected below:'); Wade Morris Amarillo, Texas Before you do any changes on your site you need to do BACKUP! BACKUP!
kevinmiami Posted April 28, 2006 Author Posted April 28, 2006 Thanks for the info- Like you said, I was able to remove the text "Please notify me of updates to the products I have selected below" in the "checkout_sucess.php" file, however its the actual checkboxes & products that I cant get rid of! any advice?
mtechama Posted April 28, 2006 Posted April 28, 2006 Thanks for the info- Like you said, I was able to remove the text "Please notify me of updates to the products I have selected below" in the "checkout_sucess.php" file, however its the actual checkboxes & products that I cant get rid of! any advice? Are you talking about the notify product box itself? Wade Morris Amarillo, Texas Before you do any changes on your site you need to do BACKUP! BACKUP!
kevinmiami Posted April 28, 2006 Author Posted April 28, 2006 yes, the product checkboxes and product info below "Please notify me of updates to the products I have selected below"
Guest Posted April 29, 2006 Posted April 29, 2006 in the catalog\checkout_success.php here is the code for the checkboxes. <?php if ($global['global_product_notifications'] != '1') { echo TEXT_NOTIFY_PRODUCTS . '<br><p class="productsNotifications">'; $products_displayed = array(); for ($i=0, $n=sizeof($products_array); $i<$n; $i++) { if (!in_array($products_array[$i]['id'], $products_displayed)) { echo tep_draw_checkbox_field('notify[]', $products_array[$i]['id']) . ' ' . $products_array[$i]['text'] . '<br>'; $products_displayed[] = $products_array[$i]['id']; } } echo '</p>'; } else { echo TEXT_SEE_ORDERS . '<br><br>' . TEXT_CONTACT_STORE_OWNER; } ?> <h3><?php echo TEXT_THANKS_FOR_SHOPPING; ?></h3></td> </tr> </table></td> if you comment it out add an extra </td> to close the table cell of the separator.
webgurl2006 Posted December 28, 2006 Posted December 28, 2006 You do this: //define('TEXT_NOTIFY_PRODUCTS', 'Please notify me of updates to the products I have selected below:'); and get this: TEXT_NOTIFY_PRODUCTS **checkbox is here** product name etc I went to the checkout success page line 75 to find the code as suggested in this post to alter with the extra </td>. Where do you add the extra </td> to remove the text and checkbox? This is not made clear to us non-coders! Thanks
aegrnberg Posted January 4, 2007 Posted January 4, 2007 You do this: //define('TEXT_NOTIFY_PRODUCTS', 'Please notify me of updates to the products I have selected below:'); and get this: TEXT_NOTIFY_PRODUCTS **checkbox is here** product name etc I went to the checkout success page line 75 to find the code as suggested in this post to alter with the extra </td>. Where do you add the extra </td> to remove the text and checkbox? This is not made clear to us non-coders! Thanks You don't have to uncomment anything. Just change this: if ($global['global_product_notifications'] != '1') { To this: if ($global['global_product_notifications'] != '0') { //changed 1 to 0 to remove products notifications options in checkout_success.php Then if you decide you want it after all you don't have to change other files, just change the 0 back to 1. I tested it and it works.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.