Ackis Posted April 23, 2007 Share Posted April 23, 2007 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 More sharing options...
oschellas Posted April 23, 2007 Share Posted April 23, 2007 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 More sharing options...
Ackis Posted April 23, 2007 Author Share Posted April 23, 2007 Ok, I see. The code isn't there. I will try to add it. Jessica Fuchs Link to comment Share on other sites More sharing options...
Ackis Posted April 23, 2007 Author Share Posted April 23, 2007 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 More sharing options...
oschellas Posted April 25, 2007 Share Posted April 25, 2007 By defining the text as follows: define('TEXT_NOTIFY_PRODUCTS', ''); or to strip out the table containing TEXT_NOTIFY_PRODUCTS from the checkout_success.php core file. Link to comment Share on other sites More sharing options...
sorba Posted May 1, 2008 Share Posted May 1, 2008 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.