Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

"notify me of updates" on checkout_success page


CutieCute2

Recommended Posts

Posted

As stated in the title, I'd like to remove the "notify me of updates" and the connected checkbox from the checkout_success.php page.

 

I imagine after stopping this from appearing there are other related issues (such as MY ACCOUNT and emails) that should be altered to keep the site consistant.

 

Even though, I'm looking for a complete solution, I'd appreciate hearing from anyone else who has approached this issue.

 

Thanks.

  • 2 weeks later...
Posted
I'd like to remove the "notify me of updates" and the connected checkbox from the checkout_success.php page.

 

I imagine after stopping this from appearing there are other related issues (such as MY ACCOUNT and emails) that should be altered to keep the site consistant.

 

I removed the following code from the catalog/checkout_success.php

    $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'];
     }
   }

It seems to do the trick.

Archived

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

×
×
  • Create New...