X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Help removing items on main category page (https://forum.x-cart.com/showthread.php?t=9389)

mikea93449 09-16-2004 04:32 AM

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 :D

adpboss 09-16-2004 04:54 AM

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.

mikea93449 09-16-2004 06:52 AM

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.

adpboss 09-16-2004 07:20 AM

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.

mikea93449 09-16-2004 10:04 PM

Thanks adpboss. I look forward to any ideas you may have to help me out! :D


All times are GMT -8. The time now is 02:11 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.