Forums / Templates, Stylesheets, Page Layout / Help Changing Shopping cart links.

Help Changing Shopping cart links.

Locked

Views: 770

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
28 Apr 2009, 6:15 PM
#1
kldezine avatar

kldezine

New Zenner

Join Date:
Apr 2009
Posts:
9
Plugin Contributions:
0

Help Changing Shopping cart links.

On the page Your Shopping Cart Contents
Can you change where the link of the product points to?
If yes how, what file or admin area do you change that in?

I attached a photo below to show what links I am talking about.
One link is the link the actual name of the product, one link is the one attached to the photo of th product.

Also how do you remove the HELP at the top of the shopping cart and checkout pages.

THANKS EVERYONE

HERE IS THE PHOTO

[IMG]http://img142.imageshack.us/img142/7152/changelinks.th.jpg[/IMG]

28 Apr 2009, 6:41 PM
#3
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: Help Changing Shopping cart links.

To remove the [help] link, edit an override copy of the shopping cart template - tpl_shopping_cart_default.php and remove this section of code:

<?php
  if ($_SESSION['cart']->count_contents() > 0) {
?>
<div class="forward"><?php echo TEXT_VISITORS_CART; ?></div>
<?php
  }
?>

To modify the links for the product image and name, you'll need to edit this section of includes/modules/pages/shopping_cart/header_php.php

  $linkProductsName = zen_href_link(zen_get_info_page($products[$i]['id']), 'products_id=' . $products[$i]['id']);

Neville
An assumption is what you arrive at when you get tired of thinking...

28 Apr 2009, 6:43 PM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,668
Plugin Contributions:
0

Re: Help Changing Shopping cart links.

Silly question - Why would you want to change the link back to the product?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

28 Apr 2009, 6:53 PM
#5
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: Help Changing Shopping cart links.

Kim:

Silly question - Why would you want to change the link back to the product?

I worked on a site recently that only had 8 products, all of which were displayed with complete descriptions on the front page. There was no point in linking back to product info pages, so the links in shopping cart page were modified to go back to home page...

Neville
An assumption is what you arrive at when you get tired of thinking...

29 Apr 2009, 7:46 AM
#6
kldezine avatar

kldezine

New Zenner

Join Date:
Apr 2009
Posts:
9
Plugin Contributions:
0

Re: Help Changing Shopping cart links.

bunyip

Thank You

The reason I want to do this is because I design and develop sites that dont follow the traditional standards. Trying to create a new world of web design my friend. Just joking, dont have many products so I am not using the categories or product pages. I created static pages for them.

using outside the cart buy buttons i modified.

thanks again