Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,670
    Plugin Contributions
    1

    Default how can I remove the 'more info' line in product listing?

    v157, PHP 7.1, Responsive_Classic

    I'd like to remove the '.... more info' line under the product listings on category pages, featured products etc, and not sure how to go about it so would appreciate some help please. The product image and the description text under the image both link to the product page so personally I cannot see a need for the more info link - and removing it will reduce the gap between products on a page.

    cheers, Mike

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,708
    Plugin Contributions
    123

    Default Re: how can I remove the 'more info' line in product listing?

    The easiest way would be to simply not display the description.

    Set Display Product Description to 0 on the New/Featured/All Listing pages
    https://docs.zen-cart.com/user/templ...figuration_v1/

    then do the product listing page:
    https://docs.zen-cart.com/user/templ...configuration/
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,708
    Plugin Contributions
    123

    Default Re: how can I remove the 'more info' line in product listing?

    If you want to compress the rows more so they're skinnier, I would try this:

    - show Weight and Stock on the same line
    - reduce spacing under Price
    - remove Date Added.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,507
    Plugin Contributions
    88

    Default Re: how can I remove the 'more info' line in product listing?

    Or, add to the site's stylesheet:
    Code:
    a.list-more {display: none;}

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,157
    Plugin Contributions
    11

    Default Re: how can I remove the 'more info' line in product listing?

    Quote Originally Posted by swguy View Post
    If you want to compress the rows more so they're skinnier, I would try this:

    - show Weight and Stock on the same line
    - reduce spacing under Price
    - remove Date Added.
    FYT
    When adjusting spaces or heights, especially h and p tags, be sure to keep accessibility in mind and test your page. Line-height is also one of the things all accessibility checkers look at.

  6. #6
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,157
    Plugin Contributions
    11

    Default Re: how can I remove the 'more info' line in product listing?

    A little mor FYI

    Here are some other WCAG text spacing metrics:


    * Spacing following paragraphs: At least 2 times the font size

    * Letter spacing: At least 0.12 times the font size

    * Word spacing: At least 0.16 times the font size



    The default line height in browsers is roughly 1.2. For good readability, values between 1.3 and 1.5 are typically recommended, although this varies with font face and line length.


    Many people with cognitive disabilities have trouble reading text that is single spaced. A button that increases the line height will help them read the content.




  7. #7
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,670
    Plugin Contributions
    1

    Default Re: how can I remove the 'more info' line in product listing?

    Many thanks to everyone for your responses - as I needed to keep the description and price I elected to use the stylesheet code suggested by lat9 and that did the trick.

    In respect to changing the listing configurations it did not make any changes, maybe I did it incorrectly - changed the 4th digit from 2 to 1 here applicable and for all the lines I did not want (weren't showing anyway) I change to first digit to 0 (off) but didn't change the other 3 digits. The resultant spacing was exactly the same as it previously was (and yes I cleared cache) and the same as on another 157 site with unaltered configuration.

    With the line spacing aspect which I haven't done before I would have to do a bit of a) reading up on the process and b) do some experimenting.

    Again many thanks, much appreciated
    cheers, Mike

 

 

Similar Threads

  1. v151 Removing the Buy Now/More Info buttons on Product Listing page
    By apriigem in forum Customization from the Admin
    Replies: 18
    Last Post: 22 Jun 2021, 06:57 AM
  2. Replies: 4
    Last Post: 4 May 2013, 09:33 AM
  3. How to remove the line between product?
    By leisbi in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 Dec 2011, 04:08 PM
  4. Remove submit button (or more info) on one category listing.
    By erezw in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 16 Nov 2008, 07:02 AM
  5. How do you remove Bullet Listing style from Product Info?
    By bugyoutoo in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Mar 2008, 08:21 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