Results 1 to 10 of 2267

Threaded View

  1. #11
    Join Date
    Dec 2009
    Location
    Sarajevo
    Posts
    80
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Quote Originally Posted by gjh42 View Post
    adi - Here is a new case 7 that should give the fourth level subcats only when at the fourth level.
    PHP Code:
          case 7:// active subtree, active branches only, only 1st & 4th level - treat first subcat like top - customized 20100205 for madijelovi
            
    if($cPath_top != $path_top){//only 1 top cat's subs
              
    $skip_cat 1;
              break;
            }
            if(
    $cat_depth == 1){//show all first level  subs
              
    break;
            }
            if(
    $cat_depth == and substr_count($_GET['cPath'],'_') == 4){//check 4th level for active parent, only for $cPath depth 4
              
    $path_ids explode('_',$path);
              
    $path_parent $path_ids[count($path_ids)-2];
              if (
    in_array($path_parent,explode('_',$_GET['cPath']))) break;//show only subcats w parent in $cPath
            
    }
            
    $skip_cat 1;//skip all others
            
    break; 
    Hello Glen,

    After inserting many new items in my shop, solution with showing fourth level subcats only when at the fourth level at my website is now giving me some troubles Here's the problem:

    a) If user wants to see spare parts for car brand MITSUBISHI, categories sidebox on right side of website is visible
    Example link 1

    b) If user user wants to see spare parts for car brand KIA, categories sidebox on right side of website is not visible
    Example link 2

    I thought I could reveal the problem by comparing these two links but I didn't found anything which could cause this issue. I am not sure but I think it has something with linked and non-linked products, not sure...

    Any help is appreciated.

    Greetings,
    Adi
    Last edited by adi2009; 2 Dec 2010 at 10:46 AM.
    MY Website
    The best of the best: Zen Cart

 

 

Similar Threads

  1. categories dressing
    By fw541c in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Nov 2010, 09:29 PM
  2. Categories Dressing
    By wotnow in forum Addon Sideboxes
    Replies: 10
    Last Post: 7 Apr 2010, 03:06 AM
  3. Categories Dressing issue
    By Maynards in forum Addon Sideboxes
    Replies: 0
    Last Post: 13 Mar 2010, 10:51 PM
  4. Categories Dressing
    By Maynards in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Mar 2010, 11:05 PM
  5. Categories Dressing
    By PGlad in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 7 Aug 2007, 07:05 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