Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Notification of Product Updates


grafiti4u

Recommended Posts

I can't find the file to fix. When a guest checks out, and they finish, the Checkout Successful screen pops up. My client doesn't want that little bit about:

 

"Notify me of updates to the product"

 

and it has the check box and the name of the product next to it. How do I get rid of that?? Thanks!

Link to comment
Share on other sites

  • 3 weeks later...
I can't find the file to fix.  When a guest checks out, and they finish, the Checkout Successful screen pops up.  My client doesn't want that little bit about:

 

"Notify me of updates to the product"

 

and it has the check box and the name of the product next to it.  How do I get rid of that??  Thanks!

 

Try this -

 

Open checkout_success.php from the Catalog directory and replace the following code (approx line 80):

 

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

}

?>

 

 

with this code:

 

<?php

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...