Problems using VM Registration Redirect

Please post your issues and questions about One Page Checkout for Virtuemart 2 to this forum.

Problems using VM Registration Redirect

Postby virtualsoft@.....com » Fri Oct 12, 2012 2:03 pm

My Versions:
Joomla! 2.5.6 Stable / VM 2.0.8



Hello,

I have installed VM Registration Redirect ( http://www.keashly.net/virtuemart/kc-vm-registration-redirect) so new customers will be redirected to VM registration when they click the register link so that they can fill up all their details including their address and save it for future purchases.

This is working fine with standard virtuemart even with no products in the shopping cart.

When One Page Checkout for Virtuemart 2 is enabled it is not possible to register when the shopping cart is empty => following message is displayed: Shopping Cart empty


It should be possible for new customer to register even when they are not buying anything at the time they register.

Please could you help me solve this problem?

Thanks and best regards,
Walter

My versions:
Joomla! 2.5.6 Stable / VM 2.0.8
virtualsoft@.....com
 
Posts: 2
Joined: Fri Oct 12, 2012 1:29 pm

Re: Problems using VM Registration Redirect

Postby admin » Tue Oct 16, 2012 10:12 pm

hello, please edit
\plugins\system\kc_vm_registration_redirect\kc_vm_registration_redirect.php

and change line:
Code: Select all
$url =   'index.php?option=com_virtuemart&view=user&task=editaddresscheckout&addrtype=BT' . ( $Itemid ? '&Itemid=' . $Itemid : null );


to
Code: Select all
$url =   'index.php?option=com_virtuemart&view=user' . ( $Itemid ? '&Itemid=' . $Itemid : null );
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 2