- Posts: 47
- Thank you received: 1
Add To Cart redirect won't turn off
- akcreation
-
Topic Author
- Offline
I have tried changing the 'After a product is added to the cart ' field in the Checkout tab of the Configuration page, but it seems that no matter what setting I put it on, it always redirects to the checkout.
Not sure if this helps, but I am using the 'Mini-cart' option on my Shopping Cart module, and my products pages are in fact articles with the 'Add to Cart HTML link' on the page.
Many thanks,
Keith
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
I think that it might be caused by the option "After a product is added to the cart" in "Hikashop -> system -> Configuration -> Checkout", you should :
- go to "Hikashop -> system -> Configuration -> Checkout"
- set the "After a product is added to the cart" field to a DIFFERENT value than "Always go to the checkout".
Hope this will help you.
Please Log in or Create an account to join the conversation.
- akcreation
-
Topic Author
- Offline
- Posts: 47
- Thank you received: 1
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Please Log in or Create an account to join the conversation.
- akcreation
-
Topic Author
- Offline
- Posts: 47
- Thank you received: 1
Part of the message is hidden for the guests. Please log in or register to see it.
Many thanks,
Keith
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Please Log in or Create an account to join the conversation.
- akcreation
-
Topic Author
- Offline
- Posts: 47
- Thank you received: 1
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Can you test it and let me know if it works for you ?
Please Log in or Create an account to join the conversation.
- akcreation
-
Topic Author
- Offline
- Posts: 47
- Thank you received: 1
When I hit the 'Add to Cart' button I am directed to this url:
Part of the message is hidden for the guests. Please log in or register to see it.
Thanks
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
- It's working for the "Option" products ( like this product ) because your are using the Hikashop's "add to cart" button.
- but for exemple for the "services" products ( like this product ) you are using a link which can't figure what your Always stay on the same page option is and just redirect users to the checkout page.
so the problem was coming from the button itself.
Please Log in or Create an account to join the conversation.
- akcreation
-
Topic Author
- Offline
- Posts: 47
- Thank you received: 1
Or do you have a solution for the problem? (Possibly a new line of coding I should be using)
Many thanks,
Keith
Please Log in or Create an account to join the conversation.
If you want them to redirect somewhere else, you will have to change the links themselves.
You can do like that:
www.hikashop.com/en/forum/4-how-to/48848...tom-page-solved.html
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
It seems to be working fine, so can you give me the link to the page which is giving you this problem ?
Please Log in or Create an account to join the conversation.
Thank you for your time.
Please Log in or Create an account to join the conversation.
the problem is back. You can check it yourself if you want by clicking this link:
christiantete-eshop.gr/hikashop-menu-for...ory/29-initialiste-1
when I am clicking the add to card button it sends me to an empty page.
Also I have a problem with the styling of the popup window. I read a post but it does'nt helped me.
Please Log in or Create an account to join the conversation.
Can you change the code:
$this->setRedirect($url);
return false;
to:
$app->redirect($url);
return false;
in the file components/com_hikashop/controllers/product.php and try again ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
We will need a FTP access to put traces in the code of the add to cart as we cannot reproduce the problem on our end.
Would you be able to provide that ?
Please Log in or Create an account to join the conversation.
I will send you the FTP info.
Thank you.
Please Log in or Create an account to join the conversation.