Results 1 to 2 of 2

Hybrid View

  1. #1
    romanhk Guest

    Default Please help how to change the link of Back to Shopping button

    Dear Forum,
    I am using Zen Cart 1.3.7.1 as a shopping cart addtion, not the base of website, so that all the products and descriptions are not inside of it. The button "Back to Shopping" normally goes to main page of shopping cart only(http://helpofchinesemedicine.com/shop/) or the previous page on shopping cart but not the main home page(www.helpofchinesemedicine.com), where I could change the link so it would go on main page of the website ?
    thank you

  2. #2
    Join Date
    Apr 2008
    Location
    Santa Cruz, California
    Posts
    22
    Plugin Contributions
    0

    Default Re: Please help how to change the link of Back to Shopping button

    Hi Roman,
    Edit your "tpl_shopping_cart_default.php" file. Find the code block listed below:

    PHP Code:
    <!--bof shopping cart buttons-->
    <div class="buttonRow forward"><?php echo '<a href="' zen_href_link(FILENAME_CHECKOUT_SHIPPING'''SSL') . '">' zen_image_button(BUTTON_IMAGE_CHECKOUTBUTTON_CHECKOUT_ALT) . '</a>'?></div>
    <div class="buttonRow back"><?php echo '<a href="http://www.joshuacripps.com/galleryselect.html">' zen_image_button(BUTTON_IMAGE_CONTINUE_SHOPPINGBUTTON_CONTINUE_SHOPPING_ALT) . '</a>'?></div>
    <?php
    // show update cart button
      
    if (SHOW_SHOPPING_CART_UPDATE == or SHOW_SHOPPING_CART_UPDATE == 3) {
    ?>
    <div class="buttonRow back"><?php echo zen_image_submit(ICON_IMAGE_UPDATEICON_UPDATE_ALT); ?></div>
    <?php
      
    } else { // don't show update button below cart
    ?>
    <?php
      
    // show update button
    ?>
    <!--eof shopping cart buttons-->
    change the second line from this:
    <div class="buttonRow back"><?php echo '<a href="http://www.joshuacripps.com/galleryselect.html">'
    To this:
    <div class="buttonRow back"><?php echo '<a href="http://www.yourwebsitehere.com">'
    Last edited by joshuacripps; 15 May 2008 at 04:24 AM. Reason: corrected typo

 

 

Similar Threads

  1. v151 How to link "Back to Product List" button back to last page history
    By sports guy in forum General Questions
    Replies: 3
    Last Post: 28 Feb 2015, 11:11 AM
  2. How can I "flip" layout of Back to Shopping button with the Shipping Estimator button
    By MarleneF in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 7 May 2010, 09:38 PM
  3. How can I hide the "back to shopping" button?
    By heheno1 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 May 2009, 10:56 PM
  4. How to change Back Button link
    By Steven300 in forum General Questions
    Replies: 1
    Last Post: 6 Jul 2008, 12:38 PM
  5. How can I change how the "Back" button works/displays?
    By askjv in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Nov 2007, 10:52 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