Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Join Date
    Apr 2009
    Posts
    2,107
    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
    65,671
    Blog Entries
    7
    Plugin Contributions
    244

    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
    43
    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

 

 
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