Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2008
    Location
    Canada
    Posts
    61
    Plugin Contributions
    0

    Default shopping cart button location

    Helo everybody! Could someone please help me to change the location of the "shopping cart link? Right now it appears at the very top right corner after you add a product to it and is not easy to spot ( people have been calling, asking where on earth is our shopping cart button???)
    Ideally I would like it to be a button right under the head banner on the right side where it tell you how many items you have in your cart. If it's really complicated - I am willing to pay someone to make it for us! Thank you so much!

  2. #2
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: shopping cart button location

    Quote Originally Posted by Natallia View Post
    If it's really complicated - I am willing to pay someone to make it for us! Thank you so much!
    Let's see if we can guide you through this without you having to spend cash!

    The STRUCTURE of the PRODUCT INFO page can be altered by editing:-

    tpl_product_info_display.php

    ... and I guess you'll find your version of that file in:-

    includes/templates/theme021/templates/tpl_product_info_display.php

    1. BACKUP that file to your hard drive, so if you mess up changes, you have the original file to restore to your server.

    2. OPEN a copy (on your local machine) to edit. Use a PLAIN TEXT EDITOR, such as Notepad++ (notepad plus-plus), or Crimson Editor (both free on the WWW).

    3. You will see that the page components are divided into SECTIONS, split by the following:-

    <!--bof xyzxyzxyz -->

    and

    <!--eof xyzxyzxyz -->

    If you scroll through the file you will see:-

    1.
    <!--bof Product Price block -->
    (then a whole lot of PHP code here
    <!--eof Product Price block -->

    2. (somewhat further down...)
    <!--bof Add to Cart Box -->
    (then a whole lot of PHP code here
    <!--eof Add to Cart Box -->

    It is these BOF and EOF sections that control WHERE the component appears.

    SO, if you highlight the section with your mouse:-

    <!--bof Add to Cart Box -->
    (then a whole lot of PHP code here
    <!--eof Add to Cart Box -->

    ... then CUT it...

    ... then scroll to:-

    <!--bof Product Price block -->
    (then a whole lot of PHP code here
    <!--eof Product Price block -->

    and PASTE it underneath this... so you get

    <!--bof Add to Cart Box -->
    (then a whole lot of PHP code here
    <!--eof Add to Cart Box -->

    <!--bof Product Price block -->
    (then a whole lot of PHP code here
    <!--eof Product Price block -->


    Then SAVE the file...

    You will now have ADD TO CART appearing next to/under the PRICE BLOCK.

    Send this to your server, in the appropriate directory. It will OVERWITE the original (but you have a backup on your hard drive).

    See what happens!...

  3. #3
    Join Date
    Apr 2008
    Location
    Canada
    Posts
    61
    Plugin Contributions
    0

    Default Re: shopping cart button location

    Thank you so much... I will try this right now.

  4. #4
    Join Date
    Apr 2008
    Location
    Canada
    Posts
    61
    Plugin Contributions
    0

    Default Re: shopping cart button location

    I don't have this file: tpl_product_info_display.php in here:
    public_html / includes / templates / theme021 / templates / (Current Folder)


    instead I have all this:
    tpl_checkout_payment_default.php
    tpl_checkout_success_default.php
    tpl_ezpages_bar_footer.php
    tpl_ezpages_bar_header.php
    tpl_index_categories.php
    tpl_login_default.php 4 k 0644
    tpl_modules_no_account.php
    tpl_modules_products_all_listing.php
    tpl_modules_products_new_listing.php
    tpl_no_account_default.php
    tpl_products_all_default.php
    tpl_shopping_cart_default.php
    tpl_time_out_default.php

    is there a diff. place I can look??? Thank you!

  5. #5
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: shopping cart button location

    ... Then it will be in:-

    includes/templates/template_default/templates/

    This will be the ORIGINAL file, so don't edit that one.

    FTP a COPY to your local drive. When you are finished editing, send it to:-

    public_html / includes / templates / theme021 / templates /

    Like all the other files in this folder (which you listed above) YOUR new copy of tpl_product_info_display.php is now an OVER-RIDES file, and your webshop will read that file BEFORE it looks for the default file (which as you now know is in the template_default/templates folder).

    In addition to editing this file, you have probably also learned something about the OVER-RIDES system in ZC.

  6. #6
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: shopping cart button location

    Natallia

    I just re-read your FIRST POST and I have given you incorrect advice for the question you asked.

    I thought you wanted to move the ADD TO CART BUTTON at the bottom.

    I see you want to move the SHOPPING CART link at the top right. As you appear to be using a Proprietary template, I can't advise on how to do this as I don't know the template structure.

 

 

Similar Threads

  1. add to cart button location?
    By gleek in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 18 Oct 2010, 04:18 AM
  2. Replies: 12
    Last Post: 25 Jun 2010, 06:02 PM
  3. Change button location in cart
    By fusionsp in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Jun 2010, 08:29 PM
  4. Changing the location of Shopping cart box
    By cagey in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Feb 2009, 05: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