- Posts: 2
- Thank you received: 0
Redirect to view cart after add to cart
- spagatherings
-
Topic Author
- Offline
Less
More
10 years 9 months ago #228836
by spagatherings
Redirect to view cart after add to cart was created by spagatherings
-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.3.29
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : none
Hello! Can you please advise how I redirect to the view cart page after an item is added to cart? I don't want to use a popup, just redirect to view-cart after the user clicks "add to cart".
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.3.29
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : none
Hello! Can you please advise how I redirect to the view cart page after an item is added to cart? I don't want to use a popup, just redirect to view-cart after the user clicks "add to cart".
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
10 years 9 months ago #228848
by Mohamed Thelji
Replied by Mohamed Thelji on topic Redirect to view cart after add to cart
Hello,
The best solution will probably to directly change the value of the option "After a product is added to the cart" via "Hikashop-System->Configuration->Main"
The best solution will probably to directly change the value of the option "After a product is added to the cart" via "Hikashop-System->Configuration->Main"
Please Log in or Create an account to join the conversation.
- spagatherings
-
Topic Author
- Offline
Less
More
- Posts: 2
- Thank you received: 0
10 years 9 months ago #229334
by spagatherings
Replied by spagatherings on topic Redirect to view cart after add to cart
Please Log in or Create an account to join the conversation.
10 years 9 months ago - 10 years 9 months ago #229362
by Philip
Replied by Philip on topic Redirect to view cart after add to cart
Last edit: 10 years 9 months ago by Philip.
Please Log in or Create an account to join the conversation.
8 years 10 months ago #284894
by Lisitsa
Replied by Lisitsa on topic Redirect to view cart after add to cart
-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.8.0
-- PHP version -- : 5.6.21
Hi!
Can you help me, I have separate menu Item "Cart" - which is " HikaShop » Cart Display" page. And I need to redirect the users always to this page after they click to the button "Add to cart" on the every product page.
The variant which you wrote in this issue with several steps for checkout page - not what I need.
There may be a way to change the button in the code to redirect to the page I need?
Thank you!
-- Joomla version -- : 3.8.0
-- PHP version -- : 5.6.21
Hi!
Can you help me, I have separate menu Item "Cart" - which is " HikaShop » Cart Display" page. And I need to redirect the users always to this page after they click to the button "Add to cart" on the every product page.
The variant which you wrote in this issue with several steps for checkout page - not what I need.
There may be a way to change the button in the code to redirect to the page I need?
Thank you!
Please Log in or Create an account to join the conversation.
8 years 10 months ago #284903
by nicolas
Replied by nicolas on topic Redirect to view cart after add to cart
Hi,
If you want to redirect elsewhere, you can add such javascript code on your pages:
If you want to redirect elsewhere, you can add such javascript code on your pages:
Code:
window.localPage.cartRedirect = function(cid,pid,resp){window.location="URL_WHERE_TO_REDIRECT_AFTER_ADD_TO_CART";};
Please Log in or Create an account to join the conversation.
8 years 10 months ago #284947
by Lisitsa
Replied by Lisitsa on topic Redirect to view cart after add to cart
Thank you, Nicolas!
Yes, it work!
Yes, it work!
Please Log in or Create an account to join the conversation.
Time to create page: 0.072 seconds