Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Want to disable product notifications


Zuncan

Recommended Posts

Posted

Hi!

 

I want to get rid of the product notifications. What code do I need to change/remove?

 

/ Zuncan

So what?! Who care in a hundred years anyway?

Posted

First of all the box, but of course after the checkout and in the account.

Is there a easy way? Or can you please tell me what I need to do?

 

/ Zuncan

So what?! Who care in a hundred years anyway?

Posted

I just had to turn them off in my checkout_success file, so after the code:

 

$global_query = tep_db_query("select global_product_notifications from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "'");

$global = tep_db_fetch_array($global_query);

 

 

I just reset the global to 1 by adding this line.

 

$global['global_product_notifications'] = '1';

 

Saves from having to edit a lot of lines.

Archived

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

×
×
  • Create New...