Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

3 level of categories disappears after selecting 1

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-20-2009, 05:19 AM
 
c.vogels c.vogels is offline
 

Member
  
Join Date: Sep 2006
Posts: 18
 

Default 3 level of categories disappears after selecting 1

Hi,

Please take a look at:

http://www.kledingmetzorg.nl and click on the category "Beauty/wellness", you see the following categories appear:
  • shirts
  • schorten
  • jassen
  • broeken
Now, when you choose one of these subcategories, they will dissapear from the menu on the new loaded page:

http://www.kledingmetzorg.nl/Shirts-p-1-c-5.html

My code:

fancy_subcategories.tpl:
HTML Code:
{* $Id: fancy_subcategories.tpl,v 1.21.2.4 2008/04/08 13:03:25 max Exp $ *} {foreach from=$categories item=c key=catid} <li><a href="home.php?cat={$c.categoryid}">{$c.category}</a> {if ($c.expanded || $config.Fancy_Categories.fancy_js eq "Y") && $c.subcategory_count > 0} <ol> <li>{include file="`$fc_skin_path`/fancy_subcategories_sub.tpl" parent=$c categories=$c.childs}</li> </ol> {/if} </li> {/foreach}

fancy_subcategories_sub.tpl:
HTML Code:
{foreach from=$categories item=c key=catid} <a href="home.php?cat={$c.categoryid}">{$c.category}</a> {if ($c.expanded || $config.Fancy_Categories.fancy_js eq "Y") && $c.subcategory_count > 0 && $cat == $c.categoryid} <ol> <li>{include file="`$fc_skin_path`/fancy_subcategories_sub.tpl" parent=$c categories=$c.childs}</li> </ol> {/if} {/foreach}

Can someone help me?
__________________
x-cart 4.1.10 gold
Reply With Quote
  #2  
Old 03-21-2009, 09:10 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: 3 level of categories disappears after selecting 1

I am not sure what you are asking.... "Beauty/wellness" is a subcategory of "C.R. Design"
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #3  
Old 03-22-2009, 11:31 PM
 
c.vogels c.vogels is offline
 

Member
  
Join Date: Sep 2006
Posts: 18
 

Default Re: 3 level of categories disappears after selecting 1

Quote:
Originally Posted by JWait
I am not sure what you are asking.... "Beauty/wellness" is a subcategory of "C.R. Design"

Yes... the structure:

- C.R. Design
---- Beauty/Wellness
-------- shirts
-------- schorten
-------- etc. etc.

- Profashional
---- Tandartsen / apotheken
-------- shirts
-------- schorten
-------- etc etc
---- verzorgingscentra
-------- etc etc

The first 2 category levels schould be displayed on the website as default. When i click on "Beauty/Wellness" i wil see the subcategories (shirts, shorten etc.). This is ok.

Now the issue:
When i click on Beauty/Wellness > Shirts (3d level category) 3d level categories dissapears, while they shouldn't.
__________________
x-cart 4.1.10 gold
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:08 PM.

   

 
X-Cart forums © 2001-2020