Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Getting Rid of "Notify of Updates" upon checkout


yt_boy

Recommended Posts

Hi all

 

can anyone point me in the right direction to get rid of the:

 

"Please notify me of updates to the products I have selected below:"

 

comment and checkbox upon successful sales?

 

i think its somewhere in the checkout_success.php page but the issets, ifs and elses do my head in.

 

i see this - 'global_product_notifications' and think its related to that, but how do i switch this on and off?

 

any advice greatfully received

 

regards

 

YT

there are 10 types of people who understand binary

 

those that do, and those that don't

Link to comment
Share on other sites

Change

  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;
 }

to

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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...