popstar Posted February 28, 2003 Share Posted February 28, 2003 I've managed to successfully remove product notification from my side menus, but when I try and remove it from checkout_success.php I get errors. Not sure what I need to do to eliminate this. Good things happen to good people! Link to comment Share on other sites More sharing options...
toolcrazy Posted February 28, 2003 Share Posted February 28, 2003 <?php if (tep_session_is_registered('customer_id')) { /*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; } } ?> This is approx line 131 in checkout_success.php. Please note though that the /* */ is comment tags. This is to show what to comment out. I have a Dec 5th loaded 4 OSC. Be very carful that you do exactly what is here, or you will get errors, as you know. I see also that they still use the same code in MS1 loaded 5 approx line 126 Steve ------------------------- Link to comment Share on other sites More sharing options...
popstar Posted February 28, 2003 Author Share Posted February 28, 2003 Thanks Steve, worked perfectly! Good things happen to good people! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.