"Everybody" view doesn't work

  • Posts: 60
  • Thank you received: 3
10 years 1 month ago #150111

-- url of the page with the problem -- : mack.us.tempcloudsite.com
-- HikaShop version -- : 2.2.2
-- Joomla version -- : 3.2.3
-- PHP version -- : 5.3.27

When I create a Wishlist and select "Everybody" as the permissions, I then go to another browser where I'm not logged in and try to view the link. It always asks me to login first. Known bug?

Wishlist configurations in screenshot attached.

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
10 years 1 month ago #150270

Hi,

Actually it's the way it's working.
To see the wish lists, the users must be logged on the website even if it's not their wish list.

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

  • Posts: 60
  • Thank you received: 3
10 years 1 month ago #150573

Then why have the drop down option for "Everybody" to see the wishlist?

I have a different installation of HikaShop where the wishlist works correctly. If you're not logged in, you can still see the wishlist when "Everybody" is selected. It only requires login if the view access is set to "Registered Users Only".

That leads me to believe that this functionality exists- it just isn't working on this particular site.

Thanks.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 1 month ago #150646

Hi,

Indeed I just made a local test. My apologizes.
Could you give us a test account on your website in order to see what's happening ?
We will probably need a backend and FTP access in the future.

The following user(s) said Thank You: blueagle1829

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

  • Posts: 60
  • Thank you received: 3
10 years 1 month ago #150776

Private Message Sent. Thanks.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 1 month ago #150788

Hi,

I was not able to connect to your FTP.
It's not a matter, I have reproduced and corrected the problem on our end, thanks to edit the file "components/com_hikashop/views/cart/view.html.php" function "showcart()" and add:

		JRequest::setVar('cart_id',$cart_id);
Before:
		$app->setUserState( HIKASHOP_COMPONENT.'.'.$cart_type.'_id', $cart_id, 'int' );

The following user(s) said Thank You: blueagle1829

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

  • Posts: 60
  • Thank you received: 3
10 years 1 month ago #151023

I appreciate your help, but unfortunately I'm still having the problem. The modified lines of code now look like the following, please verify that I have correctly placed the code as instructed (I think I have):

JRequest::setVar('cart_id',$cart_id);
$app->setUserState( HIKASHOP_COMPONENT.'.'.$cart_type.'_id', $cart_id, 'int' );
$rows = $class->get($cart_id,false,$cart_type);

Also, I have sent you another PM regarding the FTP.

Thanks!

Last edit: 10 years 1 month ago by blueagle1829.

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

  • Posts: 60
  • Thank you received: 3
10 years 1 month ago #151024

Okay, upon further testing.... The original cart that I had created would not ever let me view it as public, but I deleted that cart and added a new one. I saved it as "Everybody" and it DID WORK as needed. I was able to adjust the view settings and the results were great. I then created another test wishlist and the first time I saved it as "Registered Users only" and it did as it is supposed to. Once I changed the wishlist permissions, I could see it.

In short, I think this is resolved with new wishlists. Not sure why it didn't work on older wishlists, but since this site hasn't launched yet- I don't think it'll be an issue.

Thank you for your help!

Will this fix be included in the newest upgrade?

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

  • Posts: 13201
  • Thank you received: 2322
10 years 4 weeks ago #151144

Hi,

Yes it's already fixed for the future update :)
That code should allow the edition of the oldest wishlist, I will check that again.

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

Time to create page: 0.079 seconds
Powered by Kunena Forum