Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2007
    Posts
    40
    Plugin Contributions
    0

    Default "Shopping Cart" and "Checkout" link...

    http://xs512.xs.to/xs512/07080/cart1.jpg

    In that little region selected in the picture, whenever something is added to the cart the words "Shopping Cart" and "Checkout" come up. How can I make it so they are always there, instead of just when something is added to the cart?

  2. #2
    Join Date
    Jan 2007
    Posts
    34
    Plugin Contributions
    0

    Default Re: "Shopping Cart" and "Checkout" link...

    Open up includes/templates/yourtemplate/common/tpl_header.php

    Look for:
    Code:
    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
        <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
    <?php }?>
    And change to:
    Code:
    <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
        <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
    Hope that helps :)

  3. #3
    Join Date
    Feb 2007
    Posts
    40
    Plugin Contributions
    0

    Default Re: "Shopping Cart" and "Checkout" link...

    Thanks, it did help

  4. #4
    Join Date
    Mar 2007
    Posts
    14
    Plugin Contributions
    0

    Default Re: "Shopping Cart" and "Checkout" link...

    Maybe this is what I need.

    Situation:

    A product is chosen and put in the cart. Then you can view the cart and the "Go to check out" link is there.

    But, if you go back to shopping, the "Go to Check out" link is gone even though there is product in the cart.

    So, is the method described above the way to get the "go to check out" link to display at all times when a product is in the cart?

    If so, which of those codes should I change just to get the "go to check out" link displayed at all times when the cart is 'full'?

    Thanks,

    Whips

 

 

Similar Threads

  1. v153 Shopping Cart Checkout "Hand Off" or "Transfer"
    By themusicstore in forum General Questions
    Replies: 0
    Last Post: 5 Jan 2015, 06:32 PM
  2. Replies: 5
    Last Post: 21 Apr 2013, 11:37 PM
  3. v138a There are two "my account" and "shopping cart", how to delete one?
    By fanisme in forum General Questions
    Replies: 1
    Last Post: 16 Mar 2013, 11:43 AM
  4. Shopping cart - trying to turn off "Total Items" "Weight" and "Price"
    By deshojo in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 4 Apr 2011, 07:15 PM
  5. Replies: 0
    Last Post: 5 Jan 2007, 02:35 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR