Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Found a new error on my page


Ackis

Recommended Posts

At the last side, when my customer has confirmed the order, it says TEXT_NOTIFY_PRODUCTS

 

Why? What's wrong?

 

Any idea?

 

Regards

Jessica

Jessica Fuchs

Link to comment
Share on other sites

This text should be defined in includes/languages/yourlanguage/checkout_success.php page like:

 

define('TEXT_NOTIFY_PRODUCTS', 'Please notify me of updates to the products I have selected below:');

 

If TEXT_NOTIFY_PRODUCTS isn't defined it will show these capitals on your checkout success page.

Link to comment
Share on other sites

Ok, thanks it worked! No error meassege at least :)

 

How can I erase it compleately?

 

I don't want to send measseges about a specific product.

Jessica Fuchs

Link to comment
Share on other sites

  • 1 year later...

If you want to remove the option for the customer to receive notifications,

you could try to delete the following from the 'checkout_success.php' file under /catalog/ :

 

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

 

That worked for me. (But i'm a newbie, and this may cause problems for other things.. )

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...