- Posts: 251
- Thank you received: 2
Add to whislist pop-up display wrong message
11 years 3 months ago #211741
by Nello
Add to whislist pop-up display wrong message was created by Nello
-- 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!
-- 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.
11 years 3 months ago #211783
by Xavier
Replied by Xavier on topic Add to whislist pop-up display wrong message
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
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.
11 years 3 months ago #212509
by Nello
Replied by Nello on topic Add to whislist pop-up display wrong message
I sent the user details in email
Please Log in or Create an account to join the conversation.
11 years 3 months ago #212470
by Xavier
Replied by Xavier on topic Add to whislist pop-up display wrong message
Hi,
Once logged in, I have no more access to the whole website, I get 404 and 403 errors.
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.
11 years 2 months ago #212854
by Nello
Replied by Nello on topic Add to whislist pop-up display wrong message
I sent the new login information in email
Please Log in or Create an account to join the conversation.
11 years 2 months ago #212885
by Xavier
Replied by Xavier on topic Add to whislist pop-up display wrong message
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 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.
11 years 2 months ago #212887
by Nello
Replied by Nello on topic Add to whislist pop-up display wrong message
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?
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.
11 years 2 months ago #212889
by Xavier
Replied by Xavier on topic Add to whislist pop-up display wrong message
My bad, the view to edit is "checkout / notice" and not "checkout / cart".
Please Log in or Create an account to join the conversation.
11 years 2 months ago #212921
by Nello
Replied by Nello on topic Add to whislist pop-up display wrong message
It seems to works! Great!
Thank you so much!
Thank you so much!
Please Log in or Create an account to join the conversation.
Time to create page: 0.072 seconds