Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Notify Products on Checkout Success


designbysue

Recommended Posts

How do I remove the "notify me of updates" box on the checkout_success.php.  I found the wording in the english directory (checkout_success.php) but I can't find where to remove the check box and the items.

// strike out product_notifications around Lines 26 and 29 inside colum_right.php

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Link to comment
Share on other sites

  • 1 month later...
That only removed it from the right column.  What I am describing is on the checkout_success.php.  It is the box that a purchaser of the item can check requesting updates on the at product.

 

Try this -

 

Open checkout_success.php from the Catalog directory and replace the following code (approx line 80):

 

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

}

?>

 

 

with this code:

 

<?php

echo TEXT_SEE_ORDERS . '<br><br>' . TEXT_CONTACT_STORE_OWNER;

?>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...