Post by RPXX2I » Thu Sep 22, 2011 11:57 pm

I want to link the shopping cart pull down menu to the actual shopping cart instead of just going to check out. Does anyone know how to do this?

Newbie

Posts

Joined
Thu Sep 22, 2011 11:54 pm

Post by grgr » Sun Sep 25, 2011 3:52 am

Edit: ...catalog/view/theme/xxx/common/header.tpl

change this line

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; ?>

to this:

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; ?>
it is just substituting $checkout for $cart

Edit: ...catalog/controller/checkout/cart.php

change this line (480ish it's the last SECOND instance very close to the bottom of the file)

Code: Select all

		$this->data['checkout'] = $this->url->link('checkout/checkout', '', 'SSL');

to this:

Code: Select all

	//	$this->data['checkout'] = $this->url->link('checkout/checkout', '', 'SSL');
		$this->data['checkout'] = $this->url->link('checkout/cart');

-
Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK
Who is online

Users browsing this forum: Majestic-12 [Bot] and 79 guests