Page 1 of 2 12 LastLast
Results 1 to 10 of 147

Hybrid View

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

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

    That did the trick!!

    THANKS for sharing yellow1912!
    Urban art to the fullest!

  2. #2
    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)

    yellow1912,
    Please update install.sql file:

    INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function) VALUES (NULL, 'Product Listing - Number of Items Per Page Steps', 'PRODUCT_LISTING_MAX_DISPLAY_STEPS', '12,20,28,48,96,All', 'Number of Items Per Page Steps', 8, 45, NOW(), NULL, NULL);

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

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

    I was planning to do that, too lazy. Will do it now ^^

    Quote Originally Posted by a_berezin View Post
    yellow1912,
    Please update install.sql file:

    INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function) VALUES (NULL, 'Product Listing - Number of Items Per Page Steps', 'PRODUCT_LISTING_MAX_DISPLAY_STEPS', '12,20,28,48,96,All', 'Number of Items Per Page Steps', 8, 45, NOW(), NULL, NULL);
    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
    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

  5. #5
    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!

  6. #6
    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

  7. #7
    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!

  8. #8
    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.

  9. #9
    Join Date
    Jan 2009
    Posts
    26
    Plugin Contributions
    0

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

    You can set your own in the product listing page under the configuration in admin. There is a selection for it toward the bottom.

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

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

    Quote Originally Posted by helmetdecals View Post
    You can set your own in the product listing page under the configuration in admin. There is a selection for it toward the bottom.
    This code is so that your users can set the number they want to see :)
    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

 

 
Page 1 of 2 12 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