Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Browsing all products per category

    I have used much the same code. But have put it in its own template/module and then included it in tpl_index_categories.php.

    The reason for that is that most people seem to want to keep the subcategory links as well, which I think might get lost in the method DrByte mentioned. So, putting it all in its own file allows it to be slotted in wherever people want.

  2. #12
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Browsing all products per category

    Quote Originally Posted by niccol View Post
    I have used much the same code. But have put it in its own template/module and then included it in tpl_index_categories.php.

    The reason for that is that most people seem to want to keep the subcategory links as well, which I think might get lost in the method DrByte mentioned. So, putting it all in its own file allows it to be slotted in wherever people want.
    Indeed.
    And v157 has some notifier hooks built-in which make some of these code changes even simpler to extract out to separate code. And the index_filters were restructured to be simpler to customize.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #13
    Join Date
    Oct 2019
    Location
    UK
    Posts
    70
    Plugin Contributions
    0

    Default Re: Browsing all products per category

    Thanks all - Mum is now critically ill so will go over this fully when we know the outcome

  4. #14
    Join Date
    Jan 2022
    Location
    UK
    Posts
    64
    Plugin Contributions
    0

    Default Re: Browsing all products per category

    Thanks for this going way back. Are you able please to supply an update as I am now on v1.57.

    Thanks in advance

  5. #15
    Join Date
    Jan 2022
    Location
    UK
    Posts
    64
    Plugin Contributions
    0

    Default Re: Browsing all products per category

    Thanks I'll give that a try. Basically I just want to reproduce what Amazon does when you select a genre

  6. #16
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,690
    Plugin Contributions
    123

    Default Re: Browsing all products per category

    I have a plugin that I'll release soon called "View All" which removes pagination from a product listing page and shows all the entries. Not sure if this is what you want.
    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.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Not all products are listed in category 'all products'
    By jcdk in forum Basic Configuration
    Replies: 3
    Last Post: 15 Feb 2010, 09:07 AM
  2. Strange sub category problem while browsing products
    By canemasters in forum General Questions
    Replies: 10
    Last Post: 31 Aug 2009, 06:54 AM
  3. Products All Listing - How to have 'X' products shown per row
    By tqualizer in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 31 Jan 2008, 05:28 AM
  4. Coding advice... show Subcategories' products when browsing main category?
    By bodyjewelrystores in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 25 Dec 2007, 05:35 PM
  5. All products in a category on the screen while browsing.
    By PaulineNMU in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Jul 2006, 04:04 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