chuck starck Posted September 3, 2008 Posted September 3, 2008 I've tried to search for this, keep getting errors that I don't know how to search. Simply, how do I remove the "Please notify me of updates to the products I have selected below" AND the boxes AND the products that show. Easy to get rid of the text impossible to get rid of the products and checkboxes. Thanks in advance to the one who helps me either find it in a post or tells me how... chuck
satish Posted September 3, 2008 Posted September 3, 2008 in chekout_success.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>'; } is responsible so change if ($global['global_product_notifications'] != '1') to if (0) Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
chuck starck Posted September 4, 2008 Author Posted September 4, 2008 Seems I'm always thanking you. This looks like just a one bit change from what you have sent. I was looking at the order_success page, obviously didn't fix it. What page is the 'order of entries" for customer information when they first create a login? I need zip to follow State. in chekout_success.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>'; } is responsible so change if ($global['global_product_notifications'] != '1') to if (0)
chuck starck Posted September 4, 2008 Author Posted September 4, 2008 Seems I'm always thanking you. This looks like just a one bit change from what you have sent. I was looking at the order_success page, obviously didn't fix it. What page is the 'order of entries" for customer information when they first create a login? I need zip to follow State. oops... I only have 'defines' in my checkout_success.php file catalog/includes/languages/english/checkout_success.php???
chuck starck Posted September 5, 2008 Author Posted September 5, 2008 I don't understand where this is. I don't find anything like this within checkout_success.psp. Pls read my other note on this. in chekout_success.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>'; } is responsible so change if ($global['global_product_notifications'] != '1') to if (0)
chuck starck Posted September 5, 2008 Author Posted September 5, 2008 GOT IT! I was in the wrong checkout_success.php Worked fine, idiot at the controls... in chekout_success.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>'; } is responsible so change if ($global['global_product_notifications'] != '1') to if (0)
satish Posted September 6, 2008 Posted September 6, 2008 Good to know You were able to get the fix. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.