Steps to Replicate:
- Add an item to the shopping cart.
- Visit shopping cart page.
- At this point "Back to Shopping" returns the URL to the last page.
- Refresh the shopping cart page (or update the quantity of a product).
- At this point "Back to Shopping" no longer returns the URL to the last page.
It appears when "/ajax.php" is loaded via JavaScript, the contents of the navigation history are being updated to add "/index.php?main_page=index&act=ajaxPayment&method=setNoscriptCookie". While not a high priority, this may negatively affect the user experience.
Perhaps not the correct fix, but adding the following line to "/ajax.php" may be a workaround:
Code:require ('includes/application_top.php'); $_SESSION['navigation']->remove_current_page(); // Remove page from navigation history $language_page_directory = DIR_WS_LANGUAGES.$_SESSION['language'].'/';


Reply With Quote


