Author Topic: [SOLVED] Change URL Redirection  (Read 1128 times)

Willc

  • Beginner
  • *
  • Posts: 29
[SOLVED] Change URL Redirection
« on: June 13, 2012, 17:16:07 pm »
Hello
I running VM 2.0.6 on Joomla 2.5.4.

I wanna know, how to change the URL Redirection after submit the EDIT ADDRESS page.

This currently redirecting to cart again. I wanna this redirect straight to SELECT SHIPMENT PAGE.

What code line and file I must to change to get this result.


Thanks

Willc

  • Beginner
  • *
  • Posts: 29
Re: Change URL Redirection
« Reply #1 on: June 13, 2012, 20:32:32 pm »
FIND!

I have just replace the following line in various functions in file:

components/com_virtuemart/controllers/user.php

Code: [Select]
$this->setRedirect(JRoute::_('index.php?option=com_virtuemart&view=cart') , $msg);
by this one

Code: [Select]
$this->setRedirect(JRoute::_('index.php?option=com_virtuemart&view=cart&task=edit_shipment') , $msg);
Hope that it help further googlers with the same problem.

Thanks