Answer the question
In order to leave comments, you need to log in
Redirect after selecting "send method" in Virtuemart2
I want to make the checkout in a few steps, so that after choosing the "shipping method" I go to the page for choosing the "payment method", but now it just redirects back to the cart.
I looked for where the link is registered, which transfers back to the basket, and did not find it. Please tell me where to look?
PS : Joomla 2.5 + Virtuemart 2
Answer the question
In order to leave comments, you need to log in
It turned out to be done like this - in components/com_virtuemart/controllers/cart.php , in the setshipment() method, I added my redirect at the end:
$mainframe = JFactory::getApplication();
$mainframe->redirect(JRoute::_('index.php?option=com_virtuemart&view=cart&task=checkout', FALSE) );
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question