0

how do i add in a checkout button into the header, but not within the top links?

I havent tried anything yet because i dont know where to start, hence why i am asking for your help.

All i need is a simple link that goes to checkout or my cart.

Thankyou

1 Answer 1

3

You can modify your theme's header.phtml file to include a link to the checkout by doing the following:

  1. Open app/design/frontend/[theme-parent]/[theme-child]/template/page/html/header.phtml

  2. Insert <a href="<?php echo Mage::helper('checkout/url')->getCheckoutUrl(); ?>">Checkout</a> where you want the link to appear.

1
  • Perfect that A link you provided was exactly what i was looking for!
    – Tom Burman
    Aug 29, 2013 at 18:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.