Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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'); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.