How to Change Continue Shopping Text in Magento to Button

Many of our Magento sites use the “Modern Theme”. We have obviously made many modifications to the “Modern Theme”, but the basic design and layout is there. We were not happy with the small, obscure text when you added an item to your shopping cart that read “Continue Shopping“.

So, here is how you change the Continue Shopping text in Magento checkout to use a button image.

On your server, go to your root Magento directory and open the file: app/design/frontend/default/modern/template/checkout/cart.phtml.

Find the line that reads:

<a href=”<?php echo $this->getContinueShoppingUrl() ?>” class=”f-left”><?php echo $this->__(’Continue Shopping’) ?></a>

Change that line to read:

<a href=”<?php echo $this->getContinueShoppingUrl() ?>” class=”f-left”><input type=”image” src=”<?php echo $this->getSkinUrl(’images/btn_continue_shopping.gif’) ?>” alt=”<?php echo $this->__(’Continue Shopping’) ?>”/></a>

Save the file. There you go. That’s how you change the Continue Shopping text in Magento checkout to use a button image.

You may want to edit the btn_continue_shopping.gif to something more appealing or create a new button and use that name instead.

You must be logged in to post a comment.