Originally Posted by
nagelkruid
Hello,
It is impossible to create a wishlist without being logged in at this time
I stand corrected
If you add the link to the product page and then use that link it is actually possible to add an item without being logged in.
previously you were always redirected to the wishlist page which requires a login.
an easy edit to correct it:
find includes/extra_cart_actions/wishlist_cart_actions.php
around line 11 find this text:
PHP Code:
// Add item to wishlist
case 'un_add_wishlist':
and change to:
PHP Code:
// Add item to wishlist
case 'un_add_wishlist':
if (!$_SESSION['customer_id']) {
$_SESSION['navigation']->set_snapshot();
zen_redirect(zen_href_link(FILENAME_LOGIN, '', 'SSL'));
}
Bookmarks