Configure redirect after add to cart

  • Posts: 16
  • Thank you received: 0
6 years 3 weeks ago #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?

Please Log in or Create an account to join the conversation.

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
6 years 3 weeks ago #290625

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

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 0
6 years 3 weeks ago #290650

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 or Create an account to join the conversation.

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
6 years 3 weeks ago #290658

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

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 0
6 years 3 weeks ago #290729

Thank you

Please Log in or Create an account to join the conversation.

Time to create page: 0.066 seconds
Powered by Kunena Forum