Magento – Sidebar basket Knopf “Checkout” against “Add to cart” exchange

Picture

A customer wanted to, that the button “Checkout” in the Page navigation the basket against “Add to cart” is replaced.

With this change, it is then reacted. The file

sidebar.phtml aus dem Ordner app / design / frontend /[base or default]/[IhrTemplate]/template/checkout / cart open and about. in line 63 the line

<button type="button" title="<?php echo $this->__('Checkout') ?>" class ="button" onclick="setLocation('<?php echo $this->getCheckoutUrl() ?>')"><span><span><?php echo $this->__('Checkout') ?></span></span></button>

against

<button type="button" title="<?php echo $this->__('Cart') ?>" class ="button" onclick="setLocation('<?php echo $this->getUrl("checkout/cart/") ?>')"><span style="min-width: 52px"><span><?php echo $this->__('Cart') ?></span></span></button>

exchange. May reload cache and finished.

Used in Magento Version 1.7. Ask, Comments, Proposals? Us directly or as a comment.

Published by Covos

Since 2009 I have been working intensively with Magento. I started with the creation and operation of B2C stores. This was extended through my work in the logistics sector. This resulted first specialized B2E systems. Today I work day-a day with exciting B2C, B2B- and B2E projects and reports in this blog about challenges and give insider tips.

Leave a Reply

Your email address will not be published. Required fields are marked *