News:

Support the VirtueMart project and become a member

Main Menu

[Fixed]Login on Cart Page Redirects to frontpage

Started by PRO, November 21, 2011, 18:54:34 PM

Previous topic - Next topic

PRO

When going to checkout. When you login, you are redirected to

index.php?option=com_virtuemart

Which shows the default layout.

views/cart/tpl/default_login.php
change this
<form action="<?php echo JRoute::_('index.php', true, 0); ?>" method="post" name="com-login" >

to this
<form action="<?php echo JRoute::_('index.php?option=com_virtuemart&view=cart', true, 0); ?>" method="post" name="com-login" >

alatak