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

Using Empty Categories, Description Not Showing

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-08-2009, 01:24 PM
 
webeditors webeditors is offline
 

Member
  
Join Date: Jul 2009
Posts: 20
 

Question Using Empty Categories, Description Not Showing

Hello, in order to enable our static pages to be part of the main product navigation, we decided to use the category pages and descriptions instead. Since they essentially have the WYSIWYG editor and similar functionality.

The problem is that we don't need to add products to these categories, but when we remove the products, the description disappears.

We are using the latest version 4.2.2 and an example page is here:
https://juhlir.tempdomainname.com/store/home.php?cat=274

Any help with what file controls the descriptions and what code to use in order to allow the descriptions to display when no products are present?
__________________
www.webeditors.com
4.2.1 or 4.2.2
Reply With Quote
  #2  
Old 08-08-2009, 02:10 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Using Empty Categories, Description Not Showing

This is not a problem for me. I just tested it out on a stock versino of x-cart 4.2.1 and it works fine. It;s somehthing in your install.

The file that controls this is subcategories.tpl

Are you using a custom skin or have done extensive alterations to the skin?
__________________
xcart 5.1.2
Reply With Quote
  #3  
Old 08-08-2009, 03:20 PM
 
steve.thompson steve.thompson is offline
 

eXpert
  
Join Date: Feb 2009
Location: Sydney, Australia
Posts: 302
 

Default Re: Using Empty Categories, Description Not Showing

I have two empty categories that are displaying ok. I couldn't find anything related to not displaying a category when it's empty. Is your category enabled?

Steve.
__________________
X-Cart Gold 4.2.1 / 4.4.2
X-AOM, X-SpecialOffers
Download Expander 2.1.3 / 2.2.0
Reply With Quote
  #4  
Old 08-08-2009, 03:31 PM
 
webeditors webeditors is offline
 

Member
  
Join Date: Jul 2009
Posts: 20
 

Talking Re: Using Empty Categories, Description Not Showing

Thanks so much, we retested and it was occuring on the 3rd level down, sub category. However, reposting seemed to solve the problem.

I may be asking more, this site is quite complex, I'm not sure that using categories for static content is the way to go after all.

It does allow us to easily combine the navigation with the products but it presents other issues.

Based on the client's vision: http://juhlir.tempdomainname.com/images/quadrel_products_inline.jpg

And what we've done so far with a 3rd party nav add-on:
https://juhlir.tempdomainname.com/store/home.php?cat=268

any ideas if we are headed in the right direction? Maybe using static pages as they were intended is better?

Thanks!!
__________________
www.webeditors.com
4.2.1 or 4.2.2
Reply With Quote
  #5  
Old 08-08-2009, 04:46 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Using Empty Categories, Description Not Showing

You could always still display the static pages in the right hand column, below or above the product cats and name the menu info or something relevant.

Seems simpler.
__________________
xcart 5.1.2
Reply With Quote
  #6  
Old 08-08-2009, 05:04 PM
  mida68's Avatar 
mida68 mida68 is offline
 

Senior Member
  
Join Date: May 2004
Location: Temecula, CA
Posts: 104
 

Default Re: Using Empty Categories, Description Not Showing

Thanks, yes it would be much easier but we have 3-4 levels of static pages deep so using some kind of nav that supports that is ideal. (oops used my other login - well it's all the same, lol!)

Thanks!
__________________
X-Cart 4.2, 4.3
Web Editors: http://www.webeditors.com
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 06:38 PM.

   

 
X-Cart forums © 2001-2020