Skip to content

Instantly share code, notes, and snippets.

  • Star 38 You must be signed in to star a gist
  • Fork 18 You must be signed in to fork a gist
Star You must be signed in to star a gist
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