Results 1 to 5 of 5
  1. #1

    Default Moving Add to Cart Box

    I would like to move the add to cart box so that it appears directly underneath the pricing and model information. As an example, I would like it to appear directly underneath:

    $35.00
    Add to Cart:

    Model: DVD-FRAN
    Shipping Weight: 7lbs
    Manufactured by: Warner

    on the following page: http://www.musclewithoutsupplements....products_id=15

    I am using Zencart 1.3.0.2. If someone could let me know how to make these changes, that would be really helpful.

  2. #2

    Default Re: Moving Add to Cart Box

    Hey look, I can chat with myself. Yeah!

    Anyway, if anyone could help me accomplish what I said in the above post, I would really appreciate it because I'm not very good at php.

  3. #3
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Moving Add to Cart Box

    You have to make changes in this file
    \includes\templates\template_default\templates\tpl_document_product_info_display .php
    San

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Moving Add to Cart Box

    Quote Originally Posted by superprg
    You have to make changes in this file
    \includes\templates\template_default\templates\tpl_document_product_info_display .php
    San
    That's not correct.

    1. Don't change the file in the "template_default" area. Change it in your customized-template folder instead, perhaps copying it "from" the template_default folder if you don't already have it.

    2. It's not "tpl_document_product_info_display.php". If you look at the URL in question, you'll see that this is not a "document" product-type, but a general "product" product-type. Thus, the filename is "tpl_product_info_display.php"

    3. The question was "how to".
    You need to locate the section that starts with and ends with these tags:
    HTML Code:
    <!--bof Add to Cart Box -->
    
    .....
    
    <!--eof Add to Cart Box-->
    ... and relocate that section up or down in the file to the place where you want it to appear.
    In the question posed above, you would move it so the "add to cart" section came after the "product price block" section, which ends with:
    HTML Code:
    <!--eof Product Price block -->
    .

    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.

  5. #5
    Join Date
    Jan 2006
    Posts
    38
    Plugin Contributions
    0

    Default Re: Moving Add to Cart Box

    Yeah.. Handy how ZC does that.. me like ... lots..

    in fact you can do it with a lot of the parts of that particular page, and i always wonder how ot do it..


    Have a mess round, but dont move anything thats important..

 

 

Similar Threads

  1. v151 Moving the Add to Cart box
    By Togfather in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 17 Aug 2014, 05:17 PM
  2. Moving the add to cart box
    By evil turinp in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 Feb 2010, 10:51 PM
  3. Moving Add To Cart Box
    By Advantage Online in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 12 Feb 2010, 07:12 PM
  4. Moving Add to Cart box
    By totalsam in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 14 Oct 2009, 11:44 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