bluvertigo
4/23/2014 - 12:10 PM

Magento How to get the customer login, logout, register and checkout urls

Magento How to get the customer login, logout, register and checkout urls

login url
<?php echo Mage::getUrl('customer/account/login'); ?>

logout url
<?php echo Mage::getUrl('customer/account/logout'); ?>

My Account url
<?php echo Mage::getUrl('customer/account'); ?>

Register url
<?php echo Mage::getUrl('customer/account/create'); ?>

Checkout url
<?php echo Mage::getUrl('checkout/cart'); ?>