Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Disable Product Updates


quietflyer

Recommended Posts

Posted

I want to disable the ability of a person to be notified of updates. Especially when their order is complete. I know there has to be an easy way to do it, but I can't find it.

 

Please Help.

 

Thank you,

 

Cory

Posted

i would think the simplest way would be to go into the sql database and make the change for that person.

 

that works for one person, every once in a while.

 

otherwise you would need to add some code in your admin that would allow you to make those same changes.

 

or you could just get rid of product notifications all together!

Posted

in catalog/includes/column_right.php

 

change:

 

if (isset($HTTP_GET_VARS['products_id'])) {

if (tep_session_is_registered('customer_id')) {

$check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'");

$check = tep_db_fetch_array($check_query);

if ($check['count'] > 0) {

include(DIR_WS_BOXES . 'best_sellers.php');

} else {

if ($guest_account == false) include(DIR_WS_BOXES . 'product_notifications.php');

}

} else {

if ($guest_account == false) include(DIR_WS_BOXES . 'product_notifications.php');

}

} else {

include(DIR_WS_BOXES . 'best_sellers.php');

}

 

to:

 

include(DIR_WS_BOXES . 'best_sellers.php');

 

that will get rid of the product notification box from the column

 

i need to see where else customers can sign up for product notifications.

Archived

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

×
×
  • Create New...