Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to turn off "notify me"?


Guest

Recommended Posts

I want to turn off globally the function : Notify me of updates to..." box. When viewing items. It also comes up after ordering "Please notify me of updates to the products I have selected below:" . I want to turn this entire function off. I know there must be a easier way than removing the code from all pages. Any help appreciated. Thanks

 

Jason

Link to comment
Share on other sites

Comment out the line that calls the function.

 

Hint: It's not in application_top.php, header.php, column_left.php, or footer.php.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

  • 2 weeks later...

its located in the checkout_sucess.php .. the code you wanna commet out is

 

 

<?php

// if ($global['global_product_notifications'] != '1') {

// echo TEXT_NOTIFY_PRODUCTS . '<br><p class="productsNotifications">';

// for ($i=0; $i<sizeof($products_array); $i++) {

// echo tep_draw_checkbox_field('notify[]', $products_array[$i]['id']) . ' ' . $products_array[$i]['text'] . '<br>';

// }

// echo '</p>';

// } else {

// echo TEXT_SEE_ORDERS . '<br><br>' . TEXT_CONTACT_STORE_OWNER;

// }

?>

 

as you can see mine is commented.

 

 

ps. if you use unix a VERY useful command for tracing down where things are located is

 

grep -sl 'what you are looking for' `find .`

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...