Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product Notifications (again)


Recommended Posts

There is Product Notifications module for the checkout success page. When enabled it displays the custom radio which can be toggled. I noticed that when the radio is selected and them saved - a record is not saved in 'products_notifications'.

The form action post back to: checkout_success.php?action=update

But all the checkout success page does is redirect to the home page:

if ( isset($_GET['action']) && ($_GET['action'] == 'update') ) {
    tep_redirect(tep_href_link('index.php'));
}

Looks like this is a bug,  I know this is a much maligned feature but just wanted to check that I am not missing something?

Link to comment
Share on other sites

The processing is in the content module - it gets executed just before the lines you quote:

  $page_content = $oscTemplate->getContent('checkout_success');

  if ( isset($_GET['action']) && ($_GET['action'] == 'update') ) {
    tep_redirect(tep_href_link('index.php'));
  }

 

Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released.

Looking for a payment or shipping module? Maybe I've already done it.

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...