- Posts: 16
- Thank you received: 0
Configure redirect after add to cart
- bdebrincar
-
Topic Author
- Offline
Less
More
8 years 7 months ago #290619
by bdebrincar
Configure redirect after add to cart was created by bdebrincar
-- 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?
-- 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.
8 years 7 months ago #290625
by nicolas
Replied by nicolas on topic Configure redirect after add to cart
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
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.
- bdebrincar
-
Topic Author
- Offline
Less
More
- Posts: 16
- Thank you received: 0
8 years 7 months ago #290650
by bdebrincar
Replied by bdebrincar on topic Configure redirect after add to cart
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
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.
8 years 7 months ago #290658
by nicolas
Replied by nicolas on topic Configure redirect after add to cart
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.
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.
- bdebrincar
-
Topic Author
- Offline
Less
More
- Posts: 16
- Thank you received: 0
8 years 7 months ago #290729
by bdebrincar
Replied by bdebrincar on topic Configure redirect after add to cart
Thank you
Please Log in or Create an account to join the conversation.
Time to create page: 0.063 seconds