- Posts: 44
- Thank you received: 0
Empty cart return page
15 years 5 months ago #17893
by gerard_pp
Empty cart return page was created by gerard_pp
Hi
I want that after an item is erased from the shopping cart the return address i want it to be the index of my site.
Actually hikashop is displaying a page showing products and a message: "The cart is empty".
I want that after an item is erased from the shopping cart the return address i want it to be the index of my site.
Actually hikashop is displaying a page showing products and a message: "The cart is empty".
Please Log in or Create an account to join the conversation.
15 years 5 months ago #17894
by nicolas
Replied by nicolas on topic Re: Empty cart return page
Hi,
You need to enter the URL in the option "URL where to redirect when the cart is empty" in the "checkout" tab of the configuration.
You need to enter the URL in the option "URL where to redirect when the cart is empty" in the "checkout" tab of the configuration.
Please Log in or Create an account to join the conversation.
15 years 5 months ago #17896
by gerard_pp
Replied by gerard_pp on topic Re: Empty cart return page
hahahaha, could it be more obvious...
Thanks a lot.
Thanks a lot.
Please Log in or Create an account to join the conversation.
15 years 2 weeks ago #27576
by k8fisher
Replied by k8fisher on topic Re: Empty cart return page
Hi Ive got a weird situation I need the "cart empty" behaviour to send the user to a different place depending on the route through the shop they took. How can I intercept the code which sends them to the place configure in the back end of the store? Id like to replace the behaviour with a history.go(-2) instead of using a set URL.
Would this be achievable by altering one of the views? Ive checked the checkout views (in display views) but cannot see the code to be replaced.
Could you give me an idea where this code exists please.
Many thanks
Kate
Would this be achievable by altering one of the views? Ive checked the checkout views (in display views) but cannot see the code to be replaced.
Could you give me an idea where this code exists please.
Many thanks
Kate
Please Log in or Create an account to join the conversation.
15 years 2 weeks ago #27591
by nicolas
Replied by nicolas on topic Re: Empty cart return page
Unfortunately, that code is near the beginning of the function "step" of the file components/com_hikashop/controllers/checkout.php
That means that you won't be able to modify it with an override and will have to directly modify the code of that core file of HikaShop if you want to change its behavior.
That means that you won't be able to modify it with an override and will have to directly modify the code of that core file of HikaShop if you want to change its behavior.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 2
- Thank you received: 0
11 years 11 months ago #182461
by gammapartners
Replied by gammapartners on topic Re: Empty cart return page
Hi !
I got the 2.3.3 comercial version of hikashop, and still can't find the "URL where to redirect when the cart is empty" in the "checkout" tab of the configuration. Is it changed? how can I make a redirection now?
thanks
I got the 2.3.3 comercial version of hikashop, and still can't find the "URL where to redirect when the cart is empty" in the "checkout" tab of the configuration. Is it changed? how can I make a redirection now?
thanks
Please Log in or Create an account to join the conversation.
11 years 10 months ago #182470
by lousyfool
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Replied by lousyfool on topic Re: Empty cart return page
gammapartners,
It's not under the "Checkout", but under the "Main" tab -> "Cart".
It's not under the "Checkout", but under the "Main" tab -> "Cart".
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
The following user(s) said Thank You: nicolas
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 2
- Thank you received: 0
11 years 10 months ago #182697
by gammapartners
Replied by gammapartners on topic Re: Empty cart return page
Nice! thanks!
Please Log in or Create an account to join the conversation.
Time to create page: 0.111 seconds