BosstonBrother Posted April 20, 2005 Share Posted April 20, 2005 Hello all, first off thanks for all the help :-) I am wondering how I go about Removing the "Please notify me of updates to the products" and the tables with the checkboxes that have the product name(s) that appears after a completed checkout. I think I figured out how to remove the text but I cant figure out how to remove the boxes. Could someone point me in the right direction? Any help would be great, My site is about done and ready to go active online. Thanks in advance for any pointers. Ed P.S. The osCommerce Board Rockz!!!!!!!! :thumbsup: :thumbsup: Link to comment Share on other sites More sharing options...
Wendy James Posted April 20, 2005 Share Posted April 20, 2005 Go to catalog/checkout_success.php and find <?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; } ?> You can either just remove it all but that will also remove some of the text that appears on the site, or you can replace it with <?php echo TEXT_SEE_ORDERS . '<br><br>' . TEXT_CONTACT_STORE_OWNER; ?> Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep. Link to comment Share on other sites More sharing options...
BosstonBrother Posted April 21, 2005 Author Share Posted April 21, 2005 Go to catalog/checkout_success.php and find <?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; } ?> You can either just remove it all but that will also remove some of the text that appears on the site, or you can replace it with <?php echo TEXT_SEE_ORDERS . '<br><br>' . TEXT_CONTACT_STORE_OWNER; ?> <{POST_SNAPBACK}> :P :) :thumbsup: :thumbsup: :thumbsup: :thumbsup: :) :P This Worked PERFECT!!!! Thank you so much B) Link to comment Share on other sites More sharing options...
Wendy James Posted April 21, 2005 Share Posted April 21, 2005 Welcome =) Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.