Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Oct 2009
    Posts
    90
    Plugin Contributions
    0

    Default Missing Some Sub-categories .... Help

    With the newest version of Zen we noticed the Stylesheet was placing the sub-categories to the left in one column, then we were able to fix that issue with help from forum members; now another issue started that was not there before the change.

    It seems in certain categories we have lost the sub-categories from appearing on the center page, is it me or is there something else wrong. The link below shows both the fixed, and missing links.


    Working Correct:

    http://www.hidguy.net/index.php?main...index&cPath=13


    Sub-Categories Missing:

    http://www.hidguy.net/index.php?main...index&cPath=43


    ** Now even if we go back to the original set-up it seems the missing sub-categories are still missing, something seems to have gone bad, please help.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Missing Some Sub-categories .... Help

    ***************** DUPLICATE POSTED QUESTION ******************
    Please post a question only once

    Other post
    http://www.zen-cart.com/forum/showthread.php?t=142664
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Oct 2009
    Posts
    90
    Plugin Contributions
    0

    Default Re: Missing Some Sub-categories .... Help

    We apologize, just trying to make sure someone would notice the issue to see if we could be helped since the original post lost it's interest.


    ** We have tried over and over and still seem to have the same issue, if anyone would know the best way around it or if you might have some suggestions let us know; all help is appreciated.

  4. #4
    Join Date
    Oct 2009
    Posts
    90
    Plugin Contributions
    0

    Default Re: Missing Some Sub-categories .... Help

    Anyone else having issues with the newer version of Zen, specifically in the Sub-category area.

    We have looked and looked, somehow every category all of a sudden stops showing our sub-category links, or once you click on the category there just are no sub-categories showing on the main page.

    We know it is not the admin panel adjustment to show on the main page.

    Anyone have an exact idea which of all files control the sub-categories on the main page, then we can re-load and see what happens ....

    Please help, this is causing major sales to be lost ......

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

    Default Re: Missing Some Sub-categories .... Help

    Odd... I don't see any definite pattern. The categories with lots of products in subcats show them, cats with only one product per subcat don't show the subcats, but some cats with up to 10 products in a subcat don't show subcats.

    What is in your /includes/templates/your_template/templates/tpl_index_categories.php between these comments?
    Code:
    <!-- BOF: Display grid of available sub-categories, if any -->
     
    <!-- EOF: Display grid of available sub-categories -->

  6. #6
    Join Date
    Oct 2009
    Posts
    90
    Plugin Contributions
    0

    Default Re: Missing Some Sub-categories .... Help

    Between those lines this is what shows .....


    ##########

    <?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');
    }
    ?>
    ##########

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

    Default Re: Missing Some Sub-categories .... Help

    OK, that's completely normal.

    Now it has to be either PRODUCT_LIST_CATEGORY_ROW_STATUS being 0 when those categories are current and not when the properly functioning cats are current (don't know offhand if that is possible), or tpl_modules_category_row.php or its module file category_row.php malfunctioning based on some unknown factor.

    That's more than I can get into tonight from this computer.

  8. #8
    Join Date
    Oct 2009
    Posts
    90
    Plugin Contributions
    0

    Default Re: Missing Some Sub-categories .... Help

    Quote Originally Posted by gjh42 View Post
    OK, that's completely normal.

    Now it has to be either PRODUCT_LIST_CATEGORY_ROW_STATUS being 0 when those categories are current and not when the properly functioning cats are current (don't know offhand if that is possible), or tpl_modules_category_row.php or its module file category_row.php malfunctioning based on some unknown factor.

    That's more than I can get into tonight from this computer.

    Well if it's not much a bother, any other questions of files you might have go ahead and let me know, and for sure I can provide what you need.

    After searching and searching we have found nothing that we edited for such an issue to happen.

    Also we would be willing to just load new files to replace what might be causing the issue, but we are not sure what to re-load; if any suggestions without affecting the sites main look, links and products please let us know.

    We thank you guys, all help and efforts have been and are very appreciated.

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

    Default Re: Missing Some Sub-categories .... Help

    Let's try a little debugging.
    Edit your tpl_index_categories.php to include this line:

    echo ' cat row status=' . PRODUCT_LIST_CATEGORY_ROW_STATUS ;//debug 20091202
    PHP Code:
    <?php
    echo ' cat row status=' PRODUCT_LIST_CATEGORY_ROW_STATUS ;//debug 20091202
    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');
    }
    ?>
    Save and upload the file and let's see what happens when it runs...

  10. #10
    Join Date
    Oct 2009
    Posts
    90
    Plugin Contributions
    0

    Default Re: Missing Some Sub-categories .... Help

    After adding that line in, every category that is having issues shows " cat row status=1 " ....


    I left the file as is so you can see what effect the addition makes.

    Let me know what would be the next step, Thanx.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Need some Help with Sub-Sub Category
    By SilverHD in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 25 Apr 2014, 10:52 PM
  2. v139h sub-categories missing :(
    By jiameei92 in forum General Questions
    Replies: 7
    Last Post: 24 Feb 2012, 12:51 PM
  3. In Sub Categories, some have descriptions, some don't
    By melharma in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 31 May 2011, 10:06 PM
  4. Missing New Categories Button (Sub Categories)
    By flex67 in forum Customization from the Admin
    Replies: 1
    Last Post: 11 Sep 2010, 05:48 AM
  5. For some reason, my categories aren't excepting sub categories
    By friends1976 in forum General Questions
    Replies: 1
    Last Post: 26 Jun 2008, 02:01 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