Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Sep 2004
    Location
    Australia
    Posts
    92
    Plugin Contributions
    0

    red flag Sub-Categories not showing

    Hi Guys,

    I've had a previous install of ZenCart 1.2.6 i think and just installed the latest. Setting up new tables for the new ZenCart.

    I've tried copying over what i could from the 1.2.6 database tables to the 1.3.7 database tables but I have a problem where my sub categories arn't showing.

    Link: http://rewards2.pacific.net.au

    The main categories to the left work, but when you click on them there are no sub categories. I can view the categories and sub categories and products in the admin catalogue section.

    Any ideas?

    Is there any way i can turn on a debug mode or something?

    Thanks
    Chino

  2. #2
    Join Date
    Sep 2004
    Location
    Australia
    Posts
    92
    Plugin Contributions
    0

    Default Re: Sub-Categories not showing

    Also, i can view all my products when i search or go to View All. Looks like the categories are not coming out right.

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Sub-Categories not showing

    Reload the files:
    /includes/templates/template_default/templates/tpl_index_categories.php
    /includes/modules/pages/index/main_template_vars.php
    /includes/templates/template_default/templates/tpl_modules_category_row.php
    /includes/modules/category_row.php
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Sep 2004
    Location
    Australia
    Posts
    92
    Plugin Contributions
    0

    Default Re: Sub-Categories not showing

    Just reloaded those files and still not working.

    I think it would have something to do with the database. But can't find where, or what it is.

  5. #5
    Join Date
    Sep 2004
    Location
    Australia
    Posts
    92
    Plugin Contributions
    0

    Default Re: Sub-Categories not showing

    Just created a new sub-category through the admin section. Even that new category didnt show.

  6. #6
    Join Date
    Sep 2004
    Location
    Australia
    Posts
    92
    Plugin Contributions
    0

    Default Re: Sub-Categories not showing

    OK i just commented out the following and now my categories are showing. Not sure if i should leave it like this.

    /includes/templates/template_default/templates/tpl_index_categories.php

    <?php
    //if (PRODUCT_LIST_CATEGORY_ROW_STATUS == 0) {
    // do nothing
    //} else {
    // display subcategories
    /**
    * require the code to display the sub-categories-grid, if any exist
    */
    require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_row.php');
    //}

    Should i look at another fix or will this be fine?

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Sub-Categories not showing

    Switch to Classic Template ... does it work now?

    Do you have both Products and Categories in your Categories?

    Categories hold Products or Categories but never both ...

    Depending on how you added your products ... do all products have a master_categories_id in the products table? This can be viewed in phpMyAdmin ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    Oct 2004
    Location
    Surrey, BC, Canada
    Posts
    1,881
    Plugin Contributions
    2

    Default Re: Sub-Categories not showing

    Hello Linda,

    I was wondering how do I add or update the master_categories_id ?
    I added my products with Easy Populate and all the master_categories_id are set to 0.
    Thanks.

  9. #9
    Join Date
    Oct 2004
    Location
    Surrey, BC, Canada
    Posts
    1,881
    Plugin Contributions
    2

    Default Re: Sub-Categories not showing

    Quote Originally Posted by HiPCTech View Post
    Hello Linda,

    I was wondering how do I add or update the master_categories_id ?
    I added my products with Easy Populate and all the master_categories_id are set to 0.
    Thanks.
    Sorry Linda,
    The Lord answered my prayers led me to this post: Here

    Where DrByte tells how to reset the master_categories_id. so it is all solved!

    Praise the Lord

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Sub-Categories not showing

    The ol' missing the master_categories_id trick eh?!
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 sub categories not showing up when click sub categores
    By asdfwen in forum Basic Configuration
    Replies: 4
    Last Post: 13 May 2012, 07:52 AM
  2. Products not showing up in sub-sub-categories?
    By CharInLasVegas in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 28 Jan 2009, 01:01 AM
  3. sub-categories not showing
    By Rob905 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 4 Jan 2009, 12:52 AM
  4. Categories Showing But Not Sub Categories
    By Viper4K in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 2 Nov 2007, 05:42 PM

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