Hello,
we have investigated this problem and it is not related to JoomSEF, but to VM code.
to fix this, edit file
/administrator/components/com_virtuemart/classes/ps_checkout.php
at lines 1806 and 1807.
The existing code:
$shopper_order_link = $sess->url('/'/ SECUREURL ."index.php?page=account.order_details&order_id=$order_id", true, false '');
$vendor_order_link = $sess->url('/'/ SECUREURL ."index2.php?page=order.order_print&order_id=$order_id&pshop_mode=admin", true, false '');
needs to be modified, by adding one more parameter with value true, so the result will be:
$shopper_order_link = $sess->url('/'/ SECUREURL ."index.php?page=account.order_details&order_id=$order_id", true, false, true '');
$vendor_order_link = $sess->url('/'/ SECUREURL ."index2.php?page=order.order_print&order_id=$order_id&pshop_mode=admin", true, false, true '');
This will however make the link in customer's email non-SEF.
If you want to hae it both SEF and functional, edit the file
/administrator/components/com_virtuemart/classes/ps_session.php
at line 542 and edit it from:
if( $createAbsoluteURI && substr($appendix,0,4)!='http' && ($ignoreSEF || !$mainframe->getCfg('sef')) ) {
to
if( $createAbsoluteURI && substr($appendix,0,4)!='http' /* && ($ignoreSEF || !$mainframe->getCfg('sef'))*/ ) {