Thread: buttons

Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2006
    Location
    Providence
    Posts
    137
    Plugin Contributions
    0

    Default buttons

    I would like to place the "Write a review", "Purchase" and "Tell a friend" buttons in the upper right hand corner of each product page. Do I do this with CSS or is it in the admin area?

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

    Default Re: buttons

    It wouldn't be in the Admin area.

    Most likely you'll want to edit the product info template file and also make some changes in the stylesheet.

  3. #3
    Join Date
    Jun 2006
    Location
    Providence
    Posts
    137
    Plugin Contributions
    0

    Default Re: buttons

    Quote Originally Posted by stevesh View Post
    It wouldn't be in the Admin area.

    Most likely you'll want to edit the product info template file and also make some changes in the stylesheet.
    I was hoping it was just a CSS thing. I'll have to keep track of where I made changes for upgrades. Ick poo.

    Do you know which file it is? If not, I can use the developers tool kit to find the file.

    Thanks,
    Ken.

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

    Default Re: buttons

    Quote Originally Posted by kjharrison View Post
    I'll have to keep track of where I made changes for upgrades.
    Not if you obey the Prime Directive and set up your CUSTOM template and override folders.


    The file you want is includes/templates/template_default/tpl_product_info_display.php

  5. #5
    Join Date
    Jun 2006
    Location
    Providence
    Posts
    137
    Plugin Contributions
    0

    help question Re: buttons

    I finally made the changes yesterday! it was very easy, thank you.

    Now I'm curious about the prime directive and how to set up the custom folders. Is there a link for the information on how to do that? I just changed the file in the template folder, which I do not think is the prime directive. It does work, though.

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

    Default Re: buttons

    The problem is, when you upgrade to the next Zencart version, anything in template_default or classic will be overwritten, and you'll lose your changes.

    https://www.zen-cart.com/tutorials/i...hp?article=142

    https://www.zen-cart.com/tutorials/i...hp?article=230

 

 

Similar Threads

  1. v151 Disable CSS buttons for some buttons and not others
    By longstockings in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 16 Nov 2013, 04:00 PM
  2. CSS buttons not fully working for some buttons in my shopping_cart page
    By chasery in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 13 Apr 2010, 07:37 PM
  3. Using html submit buttons instead of image buttons
    By Ralf Skirr in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Nov 2009, 12:10 PM
  4. Using CSS Buttons yet still see graphic buttons on some pages
    By newbie73 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Jul 2007, 12:51 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