New problems with the "Wishlist"

  • Posts: 13201
  • Thank you received: 2322
9 years 3 months ago #186703

Hi,

I was thinking that my instructions was simple, but it's certainly because I know the code ;)
So You have to replace:

if(hikashop_loadUser() == null){
global $Itemid;
By:
if(hikashop_loadUser() == null && $cart_type != 'wishlist'){
global $Itemid;

And:
		if(hikashop_loadUser() == null){
			$filters = array('a.session_id='.$database->Quote($user->session).' AND a.cart_type ='.$database->quote($cart_type));
		}else{
			$filters = array('(a.user_id='.(int)$user->id.' OR a.session_id='.$database->Quote($user->session).') AND a.cart_type ='.$database->quote($cart_type));
		}
By:
$filters = array(1);

Please Log in or Create an account to join the conversation.

  • Posts: 128
  • Thank you received: 0
9 years 3 months ago #187147

Tank you very much!

Please Log in or Create an account to join the conversation.

Time to create page: 0.069 seconds
Powered by Kunena Forum