Page 1 of 3 123 LastLast
Results 1 to 10 of 147

Hybrid View

  1. #1
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Set number of products displayed per page (support thread)

    Quote Originally Posted by yellow1912 View Post
    I was planning to do that, too lazy.
    I also

  2. #2
    Join Date
    Dec 2006
    Location
    montreal
    Posts
    25
    Plugin Contributions
    0

    Default Re: Set number of products displayed per page (support thread)

    I was wondering... any ideas on how i would go about to have the
    Code:
     Per pages 10,20,30,All
    to display in a drop down menu?

    Thanks!!!!
    Urban art to the fullest!

  3. #3
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Set number of products displayed per page (support thread)

    Look at the way Zencart displays drop-down menu, I think the function is called zend_draw_drop_down or something, should be in html_output.php
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  4. #4
    Join Date
    Dec 2006
    Location
    montreal
    Posts
    25
    Plugin Contributions
    0

    Default Re: Set number of products displayed per page (support thread)

    yep i see it
    PHP Code:
    function zen_draw_pull_down_menu($name$values$default ''$parameters ''$required false) {
        
    $field '<select name="' zen_output_string($name) . '"'
    but i don't really know what to do with it

    Thanks for the help
    Urban art to the fullest!

  5. #5
    Join Date
    Jan 2013
    Posts
    10
    Plugin Contributions
    0

    Default Re: Set number of products displayed per page (support thread)

    I have successfully installed this add-on on another site but I have been trying to install it on a new site numerous times with the same result. When installed and I reload my page (cart), the entire page is blank. I have narrowed the issue down to the set_num_products_dd.php page. When I remove it, my page is back again but I don't get the set number of products drop down. Any ideas?

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: Set number of products displayed per page (support thread)

    When you get a blank page, a log is created in the logs directory (1.5.1) or the cache directory (prior releases). Please post the contents of that log.
    That Software Guy. My Store: Zen Cart Support
    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.

  7. #7
    Join Date
    Jan 2013
    Posts
    10
    Plugin Contributions
    0

    Default Re: Set number of products displayed per page (support thread)

    Quote Originally Posted by swguy View Post
    When you get a blank page, a log is created in the logs directory (1.5.1) or the cache directory (prior releases). Please post the contents of that log.
    Sure:

    Invalid arguments passed in .../includes/templates/skate01/templates/tpl_index_product_list.php on line 61

    Which seems odd since line 61 is just one of the stock lines and I haven't changed it:
    61 // draw music_genre_id
    if (isset($_GET['music_genre_id']) && $_GET['music_genre_id'] != '') echo zen_draw_hidden_field('music_genre_id', $_GET['music_genre_id']);

  8. #8
    Join Date
    Oct 2015
    Location
    USA
    Posts
    2
    Plugin Contributions
    0

    Default Re: Set number of products displayed per page (support thread)

    sorry about adding this to this thread, but could not find any way of creating a new thread.

    I can't seem to get rid of "Call for Pricing" I see where to remove it in in the settings, but nothing seems to remove the dreaded "call for Price" the item do have a price and are set not to show "Call for Price". In fact all my product suffer from "Call for Price" syndrone.

    Thanks for you help.

  9. #9
    Join Date
    May 2008
    Location
    United States
    Posts
    490
    Plugin Contributions
    1

    Default Re: Set number of products displayed per page (support thread)

    I see this thread is a bit old, however I'm trying to make the products per page mod a drop down selection? If anyone has done this can you post the code? Thanks for any help on this!

    Example on how I would like ti if possible would be:
    Displaying 1 to 10 (of 375 products)

    The "10" above should be a drop down selection allowing the customer to select how many products to display on the page.

    Quote Originally Posted by yellow1912 View Post
    Look at the way Zencart displays drop-down menu, I think the function is called zend_draw_drop_down or something, should be in html_output.php
    Last edited by marcopolo; 28 Dec 2008 at 01:07 AM.

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

    Default Re: Set number of products displayed per page (support thread)

    I don't see how that would work properly; except for the first group of products, that number will never be the per-page quantity. You could add a

    [] Per Page

    after the Displaying # to # (of ### products)

    with the [] being the quantity dropdown.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v151 Option to select number of products displayed per page
    By DeeL in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 6 Mar 2013, 03:09 AM
  2. v151 Error after trying to install Set Number of products displayed
    By DeeL in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 8 Feb 2013, 07:08 AM
  3. Changing number of products displayed per category
    By dpet102 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Jun 2009, 06:45 PM
  4. where to set number of products per page?
    By bronwen in forum Basic Configuration
    Replies: 1
    Last Post: 25 Jul 2007, 11:15 PM
  5. Allow user to set "Number of Products Per Page"?
    By yellow1912 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Apr 2007, 10:59 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