Post by whoeier » Thu Jun 28, 2012 3:12 am

adidraga wrote:This worked for me too, I've just got 1 more question about this post..

When i go to my webshop (Screenshot) and i press on the Green Button.. It still goes to the Checkout, So people can not put a Vouchercode? Is there a way to fix that too, to always go first to the cart?

so that it goes to checkout/cart ?

Image

Not sure if u found the fix for it already, but while I was looking for around for the same issue, here is the fix:

replace:

Code: Select all

<div class="checkout"><a href="<?php echo $checkout; ?>" class="button"><span><?php echo $button_checkout; ?></span></a></div>
with this :

Code: Select all

<div class="checkout"><a href="index.php?route=checkout/cart" class="button"><span>Continue</span></a></div>

As said in a earlier post on this thread.

New member

Posts

Joined
Sun Sep 05, 2010 9:22 pm
Location - Netherlands

Post by pollewops » Wed Mar 13, 2013 4:46 am

sofaking wrote:For the coupon fix:-
Could you not just change the Checkout link to actually just take people to the Cart page?

It involves changing on line of code in the header file
catalog/view/theme/default/template/common/header.tpl around line 107

Code: Select all

  <div class="links"><a href="<?php echo $home; ?>"><?php echo $text_home; ?></a><a href="<?php echo $wishlist; ?>" id="wishlist_total"><?php echo $text_wishlist; ?></a><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a><a href="<?php echo $cart; ?>"><?php echo $text_cart; ?></a><a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a></div>
to

Code: Select all

  <div class="links"><a href="<?php echo $home; ?>"><?php echo $text_home; ?></a><a href="<?php echo $wishlist; ?>" id="wishlist_total"><?php echo $text_wishlist; ?></a><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a><a href="<?php echo $cart; ?>"><?php echo $text_cart; ?></a><a href="<?php echo $cart; ?>"><?php echo $text_checkout; ?></a></div>
Basically the second last checkout changed to cart

Just a though....

Cheers,

Michael
Tried this in 1.5.4 but that seems not to work..any ideas ?

New member

Posts

Joined
Mon Feb 04, 2013 5:51 pm
Who is online

Users browsing this forum: No registered users and 13 guests