In header i have the shopping cart displaying:

an icon (which links to domain.nl/checkout/cart) the link saying: x item(s) which also links to that url

but, when hovering over these 2 it shows a small dropdown with the cart contents and in it is a button "checkout"

that links to domain.nl/checkout/onepage ...

What file would i need to edit to change that url also to domain.nl/checkout/cart and it would be great if anyone could also tell me which line to edit

Because many people seem to click checkout, therefore missing the opportunity to check cart contents and entering discount code.

site can be found here

2 Answers 2


You have use a theme. If this theme is develop basic of magento RWD theme ,then you can get this link at

app/design/frontend/YourPackage/Your Theme/checkout/cart/minicart/items.phtml

The function getCheckoutUrl() is generate the url;

If you does not find that theme need enable template hint

  • It was in different location, but you set me in the right direction. app / design / frontend / default / themename / template / magentothem / ajaxcartsuper / checkout / cart / topcart.phtml ... thanks!!!
    – Carlo
    Commented Jul 12, 2015 at 15:30

From my phone now, you are probably looking for checkout/cart/minicart.phtml inside your theme folder. Anyway you should be able to add a coupon from the one page checkout you are using.

  • in checkout/cart there is the option to add the coupon, in checkout/onepage there is not... this last page is the stepped checkout on one page...
    – Carlo
    Commented Jul 12, 2015 at 15:21

Your Answer

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

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