I just can't seem to crack this one, my problem seems to be in his bit of code,
Code:
if (sizeof($_SESSION['navigation']->snapshot) > 0) {
// $back = sizeof($_SESSION['navigation']->path)-2;
//if (isset($_SESSION['navigation']->path[$back]['page'])) {
// if (sizeof($_SESSION['navigation']->path)-2 > 0) {
$origin_href = zen_href_link($_SESSION['navigation']->snapshot['page'], zen_array_to_string($_SESSION['navigation']->snapshot['get'], array(zen_session_name())), $_SESSION['navigation']->snapshot['mode']);
// $origin_href = zen_back_link_only(true);
$_SESSION['navigation']->clear_snapshot();
zen_redirect($origin_href);
anytime I change this zen_redirect($origin_href); to redirect to the home page or other page, it does the redirect, but also messes with the checkout process which no longer works the same. my guess is the code for the $origin_href needs to be tweaked so it does not return to the last page viewed, but I haven't a clue as how to do that?
Can anybody advise?
Bookmarks