Skip to main content

URL where to redirect when the cart is empty

More
14 years 9 months ago #31496 by Mat
Hi Nic,

I have several places I want to redirect people to depending upon the checkout they use.

So if you are on the checkout and delete your items then you go to URL X Y or Z depending on some session variables I have created.

How can I set this path in code?

Thanks,

Mat

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

More
14 years 9 months ago #31521 by nicolas
Hi,

In the function __construct of the file components/com_hikashop/controllers/checkout.php you will find the variable $this->redirect_url which is where you should dynamically set your URL.

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

Time to create page: 0.187 seconds
Powered by Kunena Forum