Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Notification Box


Guest

Recommended Posts

I have looked thru questions and havent seemed to find anything that has worked so far. I want to Remove the Notification box that shows up when you click a product name. The box that says Notify me of updates.....

Have put // in front of // include(DIR_WS_BOXES . 'product_notifications.php'); which are two of them, but still keep getting the Notification box. Is there somewhere else I need to comment out?

Link to comment
Share on other sites

I have looked thru questions and havent seemed to find anything that has worked so far. I want to Remove the Notification box that shows up when you click a product name. The box that says Notify me of updates.....

Have put // in front of // include(DIR_WS_BOXES . 'product_notifications.php'); which are two of them, but still keep getting the Notification box. Is there somewhere else I need to comment out?

The only place you should have to is /catalog/includes/column_right.php

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Link to comment
Share on other sites

The only place you should have to is /catalog/includes/column_right.php

 

Thats where I did it. Put // on both lines, but when I click on for-instance in dvd ( which came with download) then on one of the movies the decription page opens but the notification boxs appears also. I dont need the notifications box because the stuff Im having on my site wont be any updates for them.

 

Here is what I have:

 

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 {

// include(DIR_WS_BOXES . 'product_notifications.php');

}

} else {

// include(DIR_WS_BOXES . 'product_notifications.php');

}

} else {

include(DIR_WS_BOXES . 'best_sellers.php');

}

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...