Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Wishlist doesn't display with Autologon contribution


Terrakota

Recommended Posts

Hi, everyone. I have installed Autologon contribution and it seems to work OK except for two things:

 

1) Products can be added to wishlist, but next time xutomer comes in through an autologin and click on "My wishlist", his wishlist is empty. But if he logs in through a normal procedure, supplying his e-mail and password, then his wishlist is OK. So, items are being added to wishlist, but are not being displayed if a person is autologged in.

 

2) When customer logs in and then leaves the site and comes back, he is not automatically logged in on the first page. Only after he clicks on some product, he is then automatically logged in. Why is that?

 

Does anyone have any idea what's wrong?

 

Thanks!

Link to comment
Share on other sites

Well, my problem with the wishlist still remains. I can't understand, why if the customer is autologged in, his wishlist is not dispalyed. But if he loggs in in a usual way, wishlist is there. I would really appreciate if anyone could help.

Link to comment
Share on other sites

  • 3 weeks later...

I did find a solution, and will post it in case anybody else needs it. In /includes/functions/autologin.php around line 77

 

BEFORE THIS CODE:

 

$cart->restore_contents(); // restore cart contents

 

INSERT THIS CODE:

 

$wishList->restore_wishlist(); // restore wishlist

 

And it works! By the way, I have Autologin Secure (2004) installed, and it works fine. I couldn't get the newer one to work.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...