Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2006
    Location
    Los Angeles
    Posts
    109
    Plugin Contributions
    0

    Default how to move up add to cart button and additional images?

    trying o find the file to edit, or is it done through admin area. thanks

  2. #2
    Join Date
    Oct 2006
    Location
    Los Angeles
    Posts
    109
    Plugin Contributions
    0

    Default Re: how to move up add to cart button and additional images

    im trying to change the display, or position of add to cart button. instead of bottom of the product listing page, i want to move it up to right underneath the product title.

    is there a way to have two add to cart buttons on the product listing page?

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: how to move up add to cart button and additional images

    Hard to say until we can see what you have now.

  4. #4
    Join Date
    Oct 2006
    Location
    Los Angeles
    Posts
    109
    Plugin Contributions
    0

    Default Re: how to move up add to cart button and additional images


  5. #5
    Join Date
    Oct 2006
    Location
    Los Angeles
    Posts
    109
    Plugin Contributions
    0

    Default Re: how to move up add to cart button and additional images?

    anyone, please?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: how to move up add to cart button and additional images?

    The link you gave doesn't work. Something's bad with your so-called SEO URLs.

    Nevertheless ...

    Open the page in your browser.
    Choose View Source from your browser menu.
    Scroll down to the section you're bothered about moving. In the case of your add-to-cart button, you'll see this:
    Code:
    <!--bof Add to Cart Box -->
                      <div id="cartAdd">
        Add to Cart: <input type="text" name="cart_quantity" value="1" maxlength="6" size="4" /><br /><br /><input type="hidden" name="products_id" value="1" /><input type="image" src="includes/templates/premium8b/buttons/english/button_in_cart.gif" alt="Add to Cart" title=" Add to Cart " />          </div>
      <!--eof Add to Cart Box-->
    Note the <!-- bof Add to Cart Box --> ('bof' is an abbreviation for "beginning of file") and corresponding end tag: <!-- eof Add to Cart Box-->

    Now go find those same tags in the template file (if you search using the Developers Toolkit, you'll find that it's tpl_product_info_display.php) and move that entire section up or down in the file as you desire, noting to NOT put anything between any other existing <bof>...<eof> markers.

    ie: instead of this:
    <bof product description>
    <eof product description>
    <bof add to cart>
    <eof add to cart>
    ....
    maybe you want something like this:
    <bof add to cart>
    <eof add to cart>
    <bof product description>
    <eof product description>

    Do similarly with other sections as desired.

    Then use any necessary CSS alterations to style things as needed.

    Tutorial FAQ articles:
    https://www.zen-cart.com/tutorials/index.php?article=38
    https://www.zen-cart.com/tutorials/index.php?article=39
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: how to move up add to cart button and additional images?

    In fact, I just searched for your question in the FAQs area, and this article came up, which basically says the same thing as I just did:
    https://www.zen-cart.com/tutorials/index.php?article=5

    I'll update it with a bit more info from the comments I made above.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Oct 2006
    Location
    Los Angeles
    Posts
    109
    Plugin Contributions
    0

    Default Re: how to move up add to cart button and additional images?

    thank you Dr.Byte . I am sorry that I missed the answer to the question in the FAQ section. Thank you for your help.

 

 

Similar Threads

  1. v139h How do I move add to cart button down?
    By babsg in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 7 Jul 2013, 08:31 PM
  2. v150 Move 'additional photos' and 'add to cart' button on showbook page
    By Johnnycopilot in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 23 Apr 2013, 07:19 AM
  3. how to move add to cart button to top of product page?
    By store.lakewood in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 6 Aug 2011, 10:59 AM
  4. How can I move my attribute selections *above* the add-to-cart button?
    By JannyM in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 6 Nov 2008, 02:10 PM
  5. how do i move/reposition the 'add to cart' button?
    By what44 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Oct 2007, 08:02 PM

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