Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

remove "notify me of new products"


kevinmiami

Recommended Posts

Posted

Does anyone know how to remove products & thier checkboxes under "please notify me of updates to the productsI have selected below" after checking out?

 

If found the following in the checkout_sucess.php file: "Please notify me of updates to the products I have selected below:" and was able to remove the text

BUT

 

how do u remove the actual product checkboxes that appear below that??

 

it's not in the column_left.php or column_right.php files either.

 

SOOOO FRUSTRATING!!!!!!!! HELP! hahaha

 

thanks so much for any help!

Posted

I replied to this before but you might have missed it:

 

Have a look in catalog/includes/column_left.php or column_right.php

 

then all you do is delete this:

 

require(DIR_WS_BOXES . '****.php');

 

....where "****" is the name of the box that you want to remove. Just be sure that you don't remove the closing }'s. I suggest backing up any file that you edit....just in case you make a mistake.

 

 

I think this is what you're looking for............? I hope it helps!

if at first you do succeed...try not to look surprised!

Posted
I replied to this before but you might have missed it:

 

Have a look in catalog/includes/column_left.php or column_right.php

 

then all you do is delete this:

 

require(DIR_WS_BOXES . '****.php');

 

....where "****" is the name of the box that you want to remove. Just be sure that you don't remove the closing }'s. I suggest backing up any file that you edit....just in case you make a mistake.

I think this is what you're looking for............? I hope it helps!

 

 

its not in either of those files :(

Posted

in checkout_success.php, look for and comment out exactly as shown below.

 

<?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>';

// } else {

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

// }

?>

GEOTEX from Houston, TX

 

(George)

Archived

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

×
×
  • Create New...