Author Topic: [Fixed]Login on Cart Page Redirects to frontpage  (Read 1298 times)

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10412
  • VirtueMart Version: 3+
[Fixed]Login on Cart Page Redirects to frontpage
« on: November 21, 2011, 18:54:34 pm »
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" >
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

alatak

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2047
    • alatak.net
Re: Login on Cart Page Redirects to frontpage
« Reply #1 on: November 22, 2011, 19:08:10 pm »
Hi,

Fixed :)
revision 4789

txs.