Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

"notify me of updates" on checkout_success page


CutieCute2

Recommended Posts

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.

Link to comment
Share on other sites

  • 2 weeks later...
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.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...