Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Jun 2008
    Posts
    170
    Plugin Contributions
    0

    Default Losing the 'More Info' link and styling the price on the category index page

    How can I lose the More Info link on this page from the third column of the table?

    http://reggae.esolutions.net/~granol...=index&cPath=1

    Also, where can I change the font size or just add an <h2> tag in the product_listing.php module? It's a bit confusing for a non-programmer and the price is too big.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Losing the 'More Info' link and styling the price on the category index page

    Why did you remove the body tag from your style sheet??

    Try adding this back at the top

    Code:
    body {
    	margin: 0;
    	font-family: verdana, arial, helvetica, sans-serif;
    	font-size: 62.5%;
    	color: #000000;
    	background-color: #00853f;
    	}
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2008
    Posts
    170
    Plugin Contributions
    0

    Default Re: Losing the 'More Info' link and styling the price on the category index page

    Because I have that in a different .css file that is used throughout the site. Not just the store.

    Plus, that doesn't come close to answering my question. I want to lose the More Info link. Not change the body tag.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Losing the 'More Info' link and styling the price on the category index page

    where can I change the font size
    That answers this part of your question!

    Tutorials/FAQ's link at the top of this page is a great resource for basic issues like this

    https://www.zen-cart.com/tutorials/index.php?article=39
    Zen-Venom Get Bitten

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

    Default Re: Losing the 'More Info' link and styling the price on the category index page

    The more info text is defined in includes/languages/english.php.

    Stuff like this is easy to find in Admin - Tools - Developers Tool Kit.

  6. #6
    Join Date
    Jun 2008
    Posts
    170
    Plugin Contributions
    0

    Default Re: Losing the 'More Info' link and styling the price on the category index page

    Well, I tried using the Developers' Tool Kit but it didn't really find anything. However, using english.php did by just losing the text from the MORE_INFO_TEXT area. So that worked.

    But I still can't figure out how to add a style to the price itself. I figure it's in modules/product_listing.php likely in this code:

    case 'PRODUCT_LIST_PRICE':
    $lc_price = zen_get_products_display_price($listing->fields['products_id']) . '';
    $lc_align = 'right';
    $lc_text = $lc_price;

    So how can I add an h2 to it? Everytime I try it screws up the script.

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Losing the 'More Info' link and styling the price on the category index page

    Well, I tried using the Developers' Tool Kit but it didn't really find anything
    Did you search and enter in the bottom left box - more info - catalog files in the drop and search?
    Zen-Venom Get Bitten

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

    Default Re: Losing the 'More Info' link and styling the price on the category index page

    Quote Originally Posted by datatv View Post

    So how can I add an h2 to it? Everytime I try it screws up the script.
    It is h2 out of the box, at least on my test installation.

    Check line 62 in includes/templates/template_default/templates/tpl_product_info_display.php

    (or the same file in your override folder if you've changed it already.)

  9. #9
    Join Date
    Jun 2008
    Posts
    170
    Plugin Contributions
    0

    Default Re: Losing the 'More Info' link and styling the price on the category index page

    Yea, I see line 62 and sure enough, there is a H2 there but it doesn't show up on my page. Look at this page:

    http://reggae.esolutions.net/~granol...=index&cPath=1

    Specifically look at this code:

    <td class="productListing-data" align="right">$39.95<br /><br /><br /></td>

    See? No h2 or any tag. Also, wouldn't mind getting rid of the unnecessary <br/> tags.

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

    Default Re: Losing the 'More Info' link and styling the price on the category index page

    It is h2, though. Remove the h2 from line 62 and put the file in your override folder, and the price will be regular text.

    I'd style it in the stylesheet (#productPrices ), but that will change it on the product info page, too.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Styling the price and "... more info" on my product info pages
    By coreyalderin in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 27 Oct 2012, 03:35 PM
  2. v150 How do I over ride the Product Info page and the category pages!!
    By Darion in forum General Questions
    Replies: 2
    Last Post: 4 Oct 2012, 03:00 AM
  3. Remove the category picture from the top of the product info page.
    By alterego55 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 1 Oct 2010, 06:56 PM
  4. Replies: 3
    Last Post: 27 Jan 2009, 12:30 PM
  5. Getting rid of '...more info' on the category page
    By v.kirk in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 7 Apr 2007, 04:34 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