Page 1 of 1

Problems using VM Registration Redirect

PostPosted: Fri Oct 12, 2012 2:03 pm
by virtualsoft@.....com
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

Re: Problems using VM Registration Redirect

PostPosted: Tue Oct 16, 2012 10:12 pm
by admin
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 );