Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2013
    Location
    United States
    Posts
    22
    Plugin Contributions
    0

    Default Need Help in adding a add to cart button on product info page

    Hi Guys

    Can someone point me in the right direction on how to install a add to cart button on my product info pages and not on the tap like it is now. I'm using Adult 07 Premium Zen Cart Template and Zen v1.5.1

    Thank You Guys,
    Larry
    Last edited by rmu065; 8 Apr 2013 at 10:08 PM.

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

    Default Re: Need Help in adding a add to cart button on product info page

    Please provide a link to your site.

  3. #3
    Join Date
    Apr 2013
    Location
    United States
    Posts
    22
    Plugin Contributions
    0

    Default Re: Need Help in adding a add to cart button on product info page

    sorry about that it's not letting add the link must be the words in the url lets tray it like this hot s e x toys mart. com
    Last edited by rmu065; 8 Apr 2013 at 10:47 PM.

  4. #4
    Join Date
    Apr 2013
    Location
    United States
    Posts
    22
    Plugin Contributions
    0

    Default Re: Need Help in adding a add to cart button on product info page

    sorry about that it's not letting me add the link must be the words in the url lets tray it like this hot s e x toys mart. com

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

    Default Re: Need Help in adding a add to cart button on product info page

    Hmpf... a "premium" template that disables two simple stock functions:
    Copyright © 2012 YourStore.com
    A stock Zen Cart will automatically display the current year here, and unless you named your store "YourStore.com" when you installed it, it is missing the automatic store name display.

    That should tell you something about the template's maker. No telling what other stock elements or admin settings they have overridden so that you can't easily change your store to suit yourself. There are many HTML errors and outdated coding practices in the template, as well.

    Anyway, moving the add to cart button in the product info page is a matter of editing /includes/templates/your_template/templates/tpl_product_info_display.php, and moving the code block marked by either <!--bof AddtoCart_Tab sc3--> or <!--bof Add to Cart Box --> depending on which of these you want to move. It appears that only the tab block is displaying when javascript is enabled for your site, but in that case, the add to cart is always linked in the tab row at the top of the page. Are you saying you want the add to cart above the whole tab row, not depending on clicking a tab before you can click the add to cart? That sounds like a reasonable desire; I wouldn't hide the add to cart inside another normally hidden element. You might need to edit your stylesheet, as it is probably deliberately hiding the non-tab add to cart.
    Last edited by gjh42; 9 Apr 2013 at 12:04 AM.

  6. #6
    Join Date
    Apr 2013
    Location
    United States
    Posts
    22
    Plugin Contributions
    0

    Default Re: Need Help in adding a add to cart button on product info page

    I would like to add it some where by the product image.

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

    Default Re: Need Help in adding a add to cart button on product info page

    Do you mean above the image inside the "Product Description" tab? To do that, you need to move part of the
    <!--bof AddtoCart_Tab sc3-->
    code block to just after the start of the "sc1" tab div, and eliminate the div wrapper for sc3 so it does not confuse the tab script.

    It is fairly complex and needs to be handled just right to maintain correct function.

 

 

Similar Threads

  1. Simple add to cart button in Product info page
    By Macbos in forum Setting Up Categories, Products, Attributes
    Replies: 11
    Last Post: 14 Dec 2012, 07:09 PM
  2. v139h Add to cart button jumps to product info page.
    By onetrack in forum General Questions
    Replies: 6
    Last Post: 27 Jul 2012, 11:53 AM
  3. Add To Cart Button On Product Info Page
    By aishaatkraysis in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Aug 2010, 02:50 PM
  4. Adding more than one button "add to cart" on product info page....
    By Celebrimbor in forum General Questions
    Replies: 14
    Last Post: 4 Feb 2010, 05:41 PM
  5. Change Add to Cart button on Product Info page
    By Lobazniouk in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 10 Sep 2009, 10:41 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