I thought this was a strange behaviour too. Sending the user to their cart is a much better idea than the home page after log in.
I fixed this in zen 1.3.7.1. to do this you need to edit includes/modules/pages/login/header_php.php
line 91, where it has
PHP Code:
// restore cart contents
$_SESSION['cart']->restore_contents();
/*
if ($_SESSION['cart']->count_contents() > 0) {
zen_redirect(zen_href_link(FILENAME_CHECKOUT_SHIPPING));
}
*/
I changed it to
PHP Code:
// restore cart contents
$_SESSION['cart']->restore_contents();
if ($_SESSION['cart']->count_contents() > 0) {
zen_redirect(zen_href_link(FILENAME_SHOPPING_CART));
}
/*
if ($_SESSION['cart']->count_contents() > 0) {
zen_redirect(zen_href_link(FILENAME_CHECKOUT_SHIPPING));
}
*/
Bookmarks