Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2009
    Posts
    9
    Plugin Contributions
    0

    Default 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




  2. #2
    Join Date
    Apr 2009
    Posts
    9
    Plugin Contributions
    0

    Default Re: Help Changing Shopping cart links.



  3. #3
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default 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 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
    PHP Code:
      $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...

  4. #4
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default 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.

  5. #5
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Help Changing Shopping cart links.

    Quote Originally Posted by Kim View Post
    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...

  6. #6
    Join Date
    Apr 2009
    Posts
    9
    Plugin Contributions
    0

    Default 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

 

 

Similar Threads

  1. Replies: 2
    Last Post: 24 Jun 2010, 11:20 PM
  2. Help needed - Changing default Quantity in Shopping Cart
    By muttmule in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Jun 2009, 08:47 PM
  3. Replies: 1
    Last Post: 10 Sep 2008, 12:50 PM
  4. Changing ONLY Shopping Cart & Checkout Links
    By dave_nextexit in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 9 Apr 2008, 12:00 AM
  5. Replies: 11
    Last Post: 8 Apr 2008, 11:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg