yt_boy Posted November 12, 2008 Share Posted November 12, 2008 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 More sharing options...
Guest Posted November 13, 2008 Share Posted November 13, 2008 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 More sharing options...
yt_boy Posted November 13, 2008 Author Share Posted November 13, 2008 Tom, you are a gentleman and a scholar many thanks 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.