Problems viewing the wishlist

  • Posts: 13201
  • Thank you received: 2322
10 years 9 months ago #179396

Hi,

The code has been moved in the file "components/com_hikashop/views/cart/view.html.php" function "showcarts()" and is now:

		if(hikashop_loadUser() == null){
			global $Itemid;
			$url = '';
			if(!empty($Itemid)){
				$url='&Itemid='.$Itemid;
			}
			if(!HIKASHOP_J16){
				$url = 'index.php?option=com_user&view=login'.$url;
			}else{
				$url = 'index.php?option=com_users&view=login'.$url;
			}
			if($config->get('enable_multicart','0'))
				$app->redirect(JRoute::_($url.'&return='.urlencode(base64_encode(hikashop_currentUrl('',false))),false));
			else
				$app->redirect(JRoute::_($url.'&return='.base64_encode(hikashop_completeLink('cart&task=showcart&cart_type='.$cart_type.'&Itemid='.$Itemid,false,false,true)),false));
			return false;
		}
It redirect to the login page instead of just display the Please login message.

So you can potentially add this code at the top of the view "cart / showcarts" between php tags.

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

  • Posts: 128
  • Thank you received: 0
10 years 9 months ago #179555

Okay!
I replace all that code?

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

  • Posts: 13201
  • Thank you received: 2322
10 years 9 months ago #179569

Hi,

This whole code is here to display the login form if user is not connected and try to display all the carts.
So yes, you can replace this whole code.

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

  • Posts: 128
  • Thank you received: 0
10 years 9 months ago #179965

Well, now it seems the wishlist will work properly.
However started happening one problea other when we click the link to register the following error occurs:

Registration not allowed

Can you help me solve this problem?

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

  • Posts: 13201
  • Thank you received: 2322
10 years 9 months ago #179971

Hi,

That's because you have disabled the registration in Joomla settings.
So please enable it again, and be sure that the login is allowed too and that should solve this issue.

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

  • Posts: 128
  • Thank you received: 0
10 years 9 months ago #180073

Okay! But I do not deactivated nothing!
Can you give me step by step to see if the login is active or not?

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

  • Posts: 13201
  • Thank you received: 2322
10 years 9 months ago #180103

Hi,

Joomla > Users > User manager > Option (in the toolbar) > "Allow User Registration"

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

  • Posts: 128
  • Thank you received: 0
10 years 8 months ago #180230

Solved!
Tank's!

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

  • Posts: 128
  • Thank you received: 0
10 years 8 months ago #182685

Hi!
Well, I made up the site and restored. I had some problems with the database tables, but has now been solved!

Now, being on the wishlist information does not appear. It is all in white.
mateplas.com.br/novo/index.php/lista


The wishlist appear only when you click "Display Num" and selected to appear "all".

Help me!

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

  • Posts: 13201
  • Thank you received: 2322
10 years 8 months ago #182721

Hi,

Sorry but the "lista" return a 404 error.
So I can't see the page to give you more informations.

Do you have any cache enabled ?

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

  • Posts: 128
  • Thank you received: 0
10 years 8 months ago #182769

By accessing the link below, you can see that there no wishlist.
The lists appear only when we click on "Display" and we set to "All".
Now the link below is working! Because I had taken it from the air!

www.mateplas.com.br/novo/index.php/lista

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

  • Posts: 13201
  • Thank you received: 2322
10 years 8 months ago #182779

Hi,

I am not able to reproduce the issue on my end.
Please add the following code in the view:

<?php echo 'Start: '.$this->pageInfo->limit->start.' / Limit: '.$this->pageInfo->limit->value; ?>
And check that the values are "0" and "20".

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

  • Posts: 128
  • Thank you received: 0
10 years 8 months ago #182866

OK!
But where do I enter this code?
In which file?

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

  • Posts: 13201
  • Thank you received: 2322
10 years 8 months ago #182879

Hi,

In the view "cart / showcarts".

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

  • Posts: 128
  • Thank you received: 0
10 years 8 months ago #183013

It does not work!
I still need to filter 'all' for the lists to be displayed

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

  • Posts: 13201
  • Thank you received: 2322
10 years 8 months ago #183018

Hi,

Please provide a ftp access for the mateplas website.

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

  • Posts: 2143
  • Thank you received: 747
10 years 8 months ago #183106

sergiobertini wrote: FTP
ftp.xxxxxxxx.com.br aaa.bbb.ccc.dd
User: DON'T POST
Pass: SUCH DETAILS


Sergio,

DO NOT POST SUCH INFO PUBLICLY!
  1. Edit your post and delete the information!
  2. Change the FTP credentials IMMEDIATELY!!!


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 13201
  • Thank you received: 2322
10 years 8 months ago #183344

Hi,

The problem should be solved now. There was indeed an issue with the pagination.
Please confirm that the fix is working fine, this way I will include it for the next release of HikaShop.

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

  • Posts: 128
  • Thank you received: 0
10 years 8 months ago #183371

OK!
Tank's

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

Time to create page: 0.078 seconds
Powered by Kunena Forum