Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2006
    Posts
    14
    Plugin Contributions
    0

    Default remove 'product 1/2' NOT product count!

    If the title doesn't explain enough:

    my customer would like the line

    'Product 1/8' removed, it's right above the 'product listing' button.

    I cannot find any option for this in
    admin/product types/general/edit layout

    or in admin/config/product listing

    I could comment it out in (I think) tpl_product_info_display.php

    but would rather do it the right way.

    I've searched several times, read over the FAQ, and I've very sorry if this has been asked before. Please note I'm not asking about removing the product count about how many are left in stock.

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

    Default Re: remove 'product 1/2' NOT product count!

    I used the admin tools dev tools to search for 'nextprevcounter' and this is the only file that turned up at about line 23
    /includes/templates/template_default/templates/tpl_products_next_previous.php

    If you are to change thi copy it to your template folder here
    /includes/templates/template_default/templates/your_template/tpl_products_next_previous.php

    Then edit this file. Not being a coder, I can not specify exactly how to do this but would try to comment this line out and see if it generates an error
    Code:
    <p class="navNextPrevCounter"><?php echo (PREV_NEXT_PRODUCT); ?><?php echo ($position+1 . "/" . $counter); ?></p>
    to look like this:
    Code:
    /*<p class="navNextPrevCounter"><?php echo (PREV_NEXT_PRODUCT); ?><?php echo ($position+1 . "/" . $counter); ?></p> */
    if it it errors then that is not it. Maybe a coder will provide better guidance.
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2006
    Posts
    14
    Plugin Contributions
    0

    Default Re: remove 'product 1/2' NOT product count!

    thank you for the help!
    that was what I needed.

    i did not know about admin/tools/dev tools so you helped me twice.

    I would add that I put a space in the <td>
    & nbsp ;
    (added breaks in the code above so it would show)
    so the row did not collapse and there was space on the cart page between the buttons.
    Last edited by TJR; 18 May 2006 at 06:41 PM.

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

    Default Re: remove 'product 1/2' NOT product count!

    Glad you found it helpful.

    If you are not using FireFox and the Dev Tools extention you should really consider getting them. That is what I used to detrmine the div class of the item and then knowing the name used the admin dev tools to find the file. Just makes life a whole lot simpler,

    If interested they are here:

    firefox

    Web Dev Tools

    CSS Viewer

    Enjoy
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. How to remove the product count/navigational from Product info?
    By kaos9889 in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 19 Sep 2012, 05:48 PM
  2. How to not show product/category pagination count #s?
    By xandros2000 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 11 Jan 2012, 04:50 PM
  3. how can i remove the product count in categories
    By steveAR in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 12 Sep 2008, 08:58 AM
  4. How do i Remove product count in catgory side box
    By cjkeegan in forum General Questions
    Replies: 4
    Last Post: 21 Apr 2008, 03:05 PM
  5. cart sidebox item count (not total count)
    By mrmarcus66 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 11 Nov 2006, 01:01 AM

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