URL where to redirect when the cart is empty

  • Posts: 217
  • Thank you received: 1
12 years 11 months ago #31496

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.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 11 months ago #31521

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.039 seconds
Powered by Kunena Forum