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

Help removing items on main category page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-16-2004, 04:32 AM
 
mikea93449 mikea93449 is offline
 

Member
  
Join Date: Jul 2004
Posts: 22
 

Default Help removing items on main category page

I'm trying to prevent the store items from being shown on the main category page. Please see this link as an example:

http://www.solutionsforliving.biz/customer/home.php?cat=3

How do I get rid of the closet box on this page?

Thanks for your help
Reply With Quote
  #2  
Old 09-16-2004, 04:54 AM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

Add Version # in your signature please.

I had to do a double take to see what you are doing. That "closet" box is normally where your closet/subcategories would reside.

I don't know what version you are running, but you will need to edit customer/main/products.tpl I believe. Be careful because exclude that box will also exclude it when you display products in your subcategories.

You will need some kind of conditional statement that excludes that box if it is on a root category page.

Hope this helps. I haven't had coffee yet.
Reply With Quote
  #3  
Old 09-16-2004, 06:52 AM
 
mikea93449 mikea93449 is offline
 

Member
  
Join Date: Jul 2004
Posts: 22
 

Default

Hi... sorry I forgot my version # which is 3.5.9

Some mods have been made that remove the subcategory listings from that box on the main category page. I only want that box removed on the main category page, not on the subsequent subcategory pages if that makes any sense.

Here is the link once again:

http://www.solutionsforliving.biz/customer/home.php?cat=3

On this page I would to remove the "Closet" box, but obviously if any subcategories are clicked on, I would like the box with the products to appear.

I suppose an easy fix, although one which I don't particularly like, would be to eliminate the featured products and just choose a few products which I would like featured to be listed in the "Closets" (in this example) category.

If you know of a way around this please let me know.

Thank you.
Reply With Quote
  #4  
Old 09-16-2004, 07:20 AM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

You need to edit /customer/main/subcategories.tpl

I'm not sure where to start but I have some ideas. Little busy now, I will try to check back as I have time.
Reply With Quote
  #5  
Old 09-16-2004, 10:04 PM
 
mikea93449 mikea93449 is offline
 

Member
  
Join Date: Jul 2004
Posts: 22
 

Default

Thanks adpboss. I look forward to any ideas you may have to help me out!
__________________
v3.5.9
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:21 PM.

   

 
X-Cart forums © 2001-2020