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

#   Configure redirect after add to cart

##

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

Less More

- Posts: 16
- Thank you received: 0
-
-

8 years 7 months ago [\#290619](#290619) by [bdebrincar](/forum/user/55295-bdebrincar "View bdebrincar's Profile")  *[Configure redirect after add to cart](/forum/4-how-to/894316-configure-redirect-after-add-to-cart#290619 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.6 -- PHP version -- : 7 -- Browser(s) name and version -- : Chrome  I want that after adding to cart the site would be redirected to the catalogue page, or even the category page. How to do it?")* was created by *[bdebrincar](/forum/user/55295-bdebrincar "View bdebrincar's Profile")*

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.6
-- PHP version -- : 7
-- Browser(s) name and version -- : Chrome

I want that after adding to cart the site would be redirected to the catalogue page, or even the category page.
How to do it?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg5NDMxNi1jb25maWd1cmUtcmVkaXJlY3QtYWZ0ZXItYWRkLXRvLWNhcnQ/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: 86583
- Thank you received: 14324
-
-

8 years 7 months ago [\#290625](#290625) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Configure redirect after add to cart](/forum/4-how-to/894316-configure-redirect-after-add-to-cart#290625 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.6 -- PHP version -- : 7 -- Browser(s) name and version -- : Chrome  I want that after adding to cart the site would be redirected to the catalogue page, or even the category page. How to do it?")*

Hi,

You can do that by adding a bit of javascript to the page to give the URL you want to HikaShop's add to cart system:
[ www.hikashop.com/support/forum/checkout/...-to-cart.html#284903](https://www.hikashop.com/support/forum/checkout/882070-redirect-to-view-cart-after-add-to-cart.html#284903)

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

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

Less More

- Posts: 16
- Thank you received: 0
-
-

8 years 7 months ago [\#290650](#290650) by [bdebrincar](/forum/user/55295-bdebrincar "View bdebrincar's Profile")  Replied by *[bdebrincar](/forum/user/55295-bdebrincar "View bdebrincar's Profile")* on topic *[Configure redirect after add to cart](/forum/4-how-to/894316-configure-redirect-after-add-to-cart#290650 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.6 -- PHP version -- : 7 -- Browser(s) name and version -- : Chrome  I want that after adding to cart the site would be redirected to the catalogue page, or even the category page. How to do it?")*

Sorry can't seem to figure it out!
I'm using a yootheme template that has a field to insert custom javascript code.
I inserted there the code you suggested but it stays the same, redirecting to checkout!
Can you please be more specific?
Thank you very much

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg5NDMxNi1jb25maWd1cmUtcmVkaXJlY3QtYWZ0ZXItYWRkLXRvLWNhcnQ/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: 86583
- Thank you received: 14324
-
-

8 years 7 months ago [\#290658](#290658) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Configure redirect after add to cart](/forum/4-how-to/894316-configure-redirect-after-add-to-cart#290658 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.6 -- PHP version -- : 7 -- Browser(s) name and version -- : Chrome  I want that after adding to cart the site would be redirected to the catalogue page, or even the category page. How to do it?")*

Hi,

I've had a look at your website.
The javascript has been added correctly.
However, you're using the old add to cart system of HikaShop 2.x.
And with it, it's not possible to do that.
You can only do that with HikaShop 3.x and the "add to cart legacy" setting of the HikaShop configuration turned off in order to uew the new add to cart system.
So please check that.

The following user(s) said Thank You: [bdebrincar](/forum/user/55295-bdebrincar "View bdebrincar's Profile")

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

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

Less More

- Posts: 16
- Thank you received: 0
-
-

8 years 7 months ago [\#290729](#290729) by [bdebrincar](/forum/user/55295-bdebrincar "View bdebrincar's Profile")  Replied by *[bdebrincar](/forum/user/55295-bdebrincar "View bdebrincar's Profile")* on topic *[Configure redirect after add to cart](/forum/4-how-to/894316-configure-redirect-after-add-to-cart#290729 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.6 -- PHP version -- : 7 -- Browser(s) name and version -- : Chrome  I want that after adding to cart the site would be redirected to the catalogue page, or even the category page. How to do it?")*

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg5NDMxNi1jb25maWd1cmUtcmVkaXJlY3QtYWZ0ZXItYWRkLXRvLWNhcnQ/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.053 seconds

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