Hello,
I'll try to explain: in the cart Virtuemart login page exists, I would like that when you should make an login, could be redirected to index.php. Has a solution for this? I tried to override the user.php the controllers directory but could not. Help me?
My Virtuemart version: 2.6.10
not exactly clear what your trying to do but try the snippet below in what ever page it goes to now (shipping?)
surround it in a if and filter by some vars
$app = JFactory::getApplication();
$link = JURI::root () . 'index.php';
$app->redirect($link);
imho the third parameter of getLoginForm is the redirect url, so you can set it in your layout