[Skip to main content](#vessel-content)

#   Redirect to view cart after add to cart

##

- **[spagatherings](/forum/user/37995-spagatherings "View spagatherings's Profile")**
- [![spagatherings's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/37995-spagatherings "View spagatherings's Profile") Topic Author
- [ Offline](/forum/user/37995-spagatherings)

Less More

- Posts: 2
- Thank you received: 0
-
-

10 years 9 months ago [\#228836](#228836) by [spagatherings](/forum/user/37995-spagatherings "View spagatherings's Profile")  *[Redirect to view cart after add to cart](/forum/27-checkout/882070-redirect-to-view-cart-after-add-to-cart#228836 "-- 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 &quot;add to cart&quot;.")* was created by *[spagatherings](/forum/user/37995-spagatherings "View spagatherings's Profile")*

-- 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".

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MjA3MC1yZWRpcmVjdC10by12aWV3LWNhcnQtYWZ0ZXItYWRkLXRvLWNhcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

10 years 9 months ago [\#228848](#228848) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Redirect to view cart after add to cart](/forum/27-checkout/882070-redirect-to-view-cart-after-add-to-cart#228848 "-- 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 &quot;add to cart&quot;.")*

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-&gt;Configuration-&gt;Main"

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MjA3MC1yZWRpcmVjdC10by12aWV3LWNhcnQtYWZ0ZXItYWRkLXRvLWNhcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[spagatherings](/forum/user/37995-spagatherings "View spagatherings's Profile")**
- [![spagatherings's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/37995-spagatherings "View spagatherings's Profile") Topic Author
- [ Offline](/forum/user/37995-spagatherings)

Less More

- Posts: 2
- Thank you received: 0
-
-

10 years 9 months ago [\#229334](#229334) by [spagatherings](/forum/user/37995-spagatherings "View spagatherings's Profile")  Replied by *[spagatherings](/forum/user/37995-spagatherings "View spagatherings's Profile")* on topic *[Redirect to view cart after add to cart](/forum/27-checkout/882070-redirect-to-view-cart-after-add-to-cart#229334 "-- 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 &quot;add to cart&quot;.")*

See attached. I have no option to send the user to a custom URL, just the standard 3 options (stay on the same page, display pop-up, or go to checkout)

[ ![Spa&#95;Gatherings&#95;&#95;&#95;Administration&#95;&#95;&#95;Configuration.png](/forum/attachment/29422) ](/forum/attachment/29422 "...figuration.png")

- [ ![Spa&#95;Gatherings&#95;&#95;&#95;Administration&#95;&#95;&#95;Configuration.png](/forum/attachment/29422) ](/forum/attachment/29422 "...figuration.png") [ ](/forum/attachment/29422?download=1 "...figuration.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MjA3MC1yZWRpcmVjdC10by12aWV3LWNhcnQtYWZ0ZXItYWRkLXRvLWNhcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

10 years 9 months ago -  10 years 9 months ago [\#229362](#229362) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Redirect to view cart after add to cart](/forum/27-checkout/882070-redirect-to-view-cart-after-add-to-cart#229362 "-- 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 &quot;add to cart&quot;.")*

Hello,

For be more precise the value "**Always go to the checkout**" will lead customer to checkout, and if in your **first checkout page** you only have a **cart** view, you have what you want!

Later you can add a **second** cart view to end for example your checkout.

[ ![checkout&#95;-&#95;cart.png](/forum/attachment/29425) ](/forum/attachment/29425 "...out&#95;-&#95;cart.png")

Hope this will help,

- [ ![checkout&#95;-&#95;cart.png](/forum/attachment/29425) ](/forum/attachment/29425 "...out&#95;-&#95;cart.png") [ ](/forum/attachment/29425?download=1 "...out&#95;-&#95;cart.png")

Last edit: 10 years 9 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MjA3MC1yZWRpcmVjdC10by12aWV3LWNhcnQtYWZ0ZXItYWRkLXRvLWNhcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Lisitsa](/forum/user/53143-lisitsa "View Lisitsa's Profile")**
- [![Lisitsa's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/53143-lisitsa "View Lisitsa's Profile")
- [ Offline](/forum/user/53143-lisitsa)

Less More

- Posts: 14
- Thank you received: 0
-
-

8 years 10 months ago [\#284894](#284894) by [Lisitsa](/forum/user/53143-lisitsa "View Lisitsa's Profile")  Replied by *[Lisitsa](/forum/user/53143-lisitsa "View Lisitsa's Profile")* on topic *[Redirect to view cart after add to cart](/forum/27-checkout/882070-redirect-to-view-cart-after-add-to-cart#284894 "-- 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 &quot;add to cart&quot;.")*

-- 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!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MjA3MC1yZWRpcmVjdC10by12aWV3LWNhcnQtYWZ0ZXItYWRkLXRvLWNhcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86560
- Thank you received: 14307
-
-

8 years 10 months ago [\#284903](#284903) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Redirect to view cart after add to cart](/forum/27-checkout/882070-redirect-to-view-cart-after-add-to-cart#284903 "-- 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 &quot;add to cart&quot;.")*

Hi,

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MjA3MC1yZWRpcmVjdC10by12aWV3LWNhcnQtYWZ0ZXItYWRkLXRvLWNhcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Lisitsa](/forum/user/53143-lisitsa "View Lisitsa's Profile")**
- [![Lisitsa's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/53143-lisitsa "View Lisitsa's Profile")
- [ Offline](/forum/user/53143-lisitsa)

Less More

- Posts: 14
- Thank you received: 0
-
-

8 years 10 months ago [\#284947](#284947) by [Lisitsa](/forum/user/53143-lisitsa "View Lisitsa's Profile")  Replied by *[Lisitsa](/forum/user/53143-lisitsa "View Lisitsa's Profile")* on topic *[Redirect to view cart after add to cart](/forum/27-checkout/882070-redirect-to-view-cart-after-add-to-cart#284947 "-- 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 &quot;add to cart&quot;.")*

Thank you, Nicolas!

Yes, it work! ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MjA3MC1yZWRpcmVjdC10by12aWV3LWNhcnQtYWZ0ZXItYWRkLXRvLWNhcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.057 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
