Add to whislist pop-up display wrong message

  • Posts: 251
  • Thank you received: 2
8 years 8 months ago #211741

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3

Hi,
sometimes clicking on the button "Add to wishlist", the pop-up shows the correct message "product successfully added to wishlist", but other times shows the message "product successfully added to cart".

I try with different template and i get the same problem.

How can i fix it?

Thank you!

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

  • Posts: 13201
  • Thank you received: 2322
8 years 7 months ago #211783

Hi,

I am not able to register on your website, could you please give us a test account in order to check the popups directly on your website ?

We will potentially need a backend and a ftp access, all these informations can be sent via our contact form with the link to that topic in the message.
www.hikashop.com/support/contact-us.html

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

  • Posts: 251
  • Thank you received: 2
8 years 7 months ago #212509

I sent the user details in email

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

  • Posts: 13201
  • Thank you received: 2322
8 years 7 months ago #212470

Hi,

Once logged in, I have no more access to the whole website, I get 404 and 403 errors.

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

  • Posts: 251
  • Thank you received: 2
8 years 7 months ago #212854

I sent the new login information in email

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

  • Posts: 13201
  • Thank you received: 2322
8 years 7 months ago #212885

Hi,

Please use the fix given in this topic:
www.hikashop.com/forum/wishlist/878909-w...-working.html#212695

That will solve your issue.

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

  • Posts: 251
  • Thank you received: 2
8 years 7 months ago #212887

Hi Xavier,
I have added the following code in the file "components/com_hikashop/views/checkout/view.html.php" in the "notice()" function:

JRequest::setVar('cart_type',JRequest::getVar('cart_type',''));

But this lines:
$cart_type = $app->getUserState( HIKASHOP_COMPONENT.'.popup_cart_type','cart');

are not in the code of the view "checkout / cart", So I can't replace with that lines:

$cart_type = JRequest::getVar('cart_type','');
if(empty($cart_type))
$cart_type = $app->getUserState( HIKASHOP_COMPONENT.'.popup_cart_type','cart');

Can you show me what is the line at which I have to add the code?

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

  • Posts: 13201
  • Thank you received: 2322
8 years 7 months ago #212889

My bad, the view to edit is "checkout / notice" and not "checkout / cart".

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

  • Posts: 251
  • Thank you received: 2
8 years 7 months ago #212921

It seems to works! Great!

Thank you so much!

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

Time to create page: 0.091 seconds
Powered by Kunena Forum