Sat 12 Sep |
|
The new "Joomla inbuilt SEF Router for Virtuemart" works problem free apart from re-directing to the "component=com_virtuemart" page when you click the "Checkout" button". The problem is the router.php re-writes the url to "http://www.yourshop.com/shop/checkout/ssl_redirect". Go to components\com_virtuemart\themes\default\templates\pages\shop.cart.tml.php and go to around line 91 - $href = $sess->url( $_SERVER['PHP_SELF'].'?page=checkout.index&ssl_redirect=1', true); $href2 = $sess->url( $mm_action_url . "/index2.php?page=checkout.index&ssl_redirect=1", true); $class_att = 'class="checkout_link"'; $text = $VM_LANG->_('PHPSHOP_CHECKOUT_TITLE'); And change to $href = $sess->url( $_SERVER['PHP_SELF'].'?page=checkout.index');// removed for router.php $href2 = $sess->url( $mm_action_url . "/index2.php?page=checkout.index");//removed for router.php $class_att = 'class="checkout_link"'; $text = $VM_LANG->_('PHPSHOP_CHECKOUT_TITLE'); This will only work if your not using SSL of course. |
Last Updated on Saturday, 12 September 2009 14:52 |