Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2005
    Location
    Massachusetts
    Posts
    156
    Plugin Contributions
    0

    Default position of add this to cart box

    I've looked in the menus of the admin section but can't seem to find a control to position the "add this to cart" box on the product page. Where is that pesky control?

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: position of add this to cart box

    There is no admin control of the add to cart position. You need to move the code block in tpl_product_info_display.php to the display order you want, and then fine-tune it in the stylesheet.

  3. #3
    Join Date
    Jun 2005
    Location
    Massachusetts
    Posts
    156
    Plugin Contributions
    0

    Default Re: position of add this to cart box

    Thanks - I'm using ZC 1.3.8. My goal is to move the options above the add to cart box on this page:
    http://sportsessentialsinc.com/shop/...&products_id=1

    I tried changing the order of the code blocks in tpl_product_info_display.php and used Firefox to inspect and tweak the css for these blocks but no joy. What am I missing?

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

    Default Re: position of add this to cart box

    Where do you want it? The id is #cartAdd in the stylesheet.

  5. #5
    Join Date
    Jun 2005
    Location
    Massachusetts
    Posts
    156
    Plugin Contributions
    0

    Default Re: position of add this to cart box

    Right - I do see that and tried changing margin settings but that didn't achieve the result I want which is to move the add to cart box below the options dropdown box. Again, what have I missed?
    DocRocks
    My goal is to consume the Web, one byte at a time.

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

    Default Re: position of add this to cart box

    You'll still have to edit tpl_product_info_display to move everything between <!--bof Add to Cart Box --> and <!--eof Add to Cart Box --> to below the attributes section. Then you can change the float in #cartAdd to left from right. I think that should do it.

  7. #7
    Join Date
    Jun 2005
    Location
    Massachusetts
    Posts
    156
    Plugin Contributions
    0

    Default Re: position of add this to cart box

    Quote Originally Posted by stevesh View Post
    You'll still have to edit tpl_product_info_display to move everything between <!--bof Add to Cart Box --> and <!--eof Add to Cart Box --> to below the attributes section. Then you can change the float in #cartAdd to left from right. I think that should do it.
    Seems like it should work but changing the order of the add to cart code doesn't seem to be working for me.

    The attached modified tpl file is in an override folder at
    sportsessentials.com\shop\includes\templates\template_default\templates\theme073

    I've changed the name of the tpl file in the main directory so Zen Cart shouldn't be using it.

    Again, what am I missing - sigh!
    Last edited by DocRocks; 3 Feb 2010 at 10:45 PM. Reason: added attachment
    DocRocks
    My goal is to consume the Web, one byte at a time.

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

    Default Re: position of add this to cart box

    The override folders don't work that way. It should be in includes/templates/theme073/templates


    I've changed the name of the tpl file in the main directory so Zen Cart shouldn't be using it.


    I don't know what exactly that means, but you don't need to change any file names.

  9. #9
    Join Date
    Jun 2005
    Location
    Massachusetts
    Posts
    156
    Plugin Contributions
    0

    Default Re: position of add this to cart box

    Aha! Correcting the override path did it. Obviously I'm still not clear on where to put override folders.

    Many thanks.
    DocRocks
    My goal is to consume the Web, one byte at a time.

 

 

Similar Threads

  1. Position on Add To Cart
    By ald0413 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 21 Jan 2011, 10:39 PM
  2. how do i change the qty box to add to this cart button?
    By hangman21 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 1 Aug 2010, 11:45 AM
  3. add to cart position
    By busymum in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 11 Feb 2008, 08:05 PM
  4. please help me fix this code, adding quantity box and add to cart button to xsell
    By lankeeyankee in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 Nov 2007, 03:24 AM
  5. Add to cart button position
    By miles in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Feb 2007, 09:14 AM

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