spacebiscuit75 Posted December 4, 2019 Posted December 4, 2019 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?
Dan Cole Posted December 4, 2019 Posted December 4, 2019 I'm pretty sure mine works...I know I have notifications in the database....what version of osC are you using? Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here.
BrockleyJohn Posted December 4, 2019 Posted December 4, 2019 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
spacebiscuit75 Posted December 5, 2019 Author Posted December 5, 2019 My error, my form input for the checkbox had a ttpo which meant the isarray() check that catches the save was not caught. Working now thanks.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.