| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Hiding category | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Greetings,
Is there a way to not display a category name but still have it active? There's a category I would like to add that I don't want to display along with the other categories but I still would like to add products to it and have it linked to via the speed bar. Is this possible?
__________________
X-Cart Gold 4.19 Red Hat Enterprise Dedicated Linux Apache 2.x PHP 5.25 mySQL 5.023 MMP 3, Buy Together, 1 Page Checkout |
|||||||
#2
|
|||||||||
|
|||||||||
![]() In Categories Management, just change the enabled dropdown from yes to no for the category you wish to hide.
__________________
X-CART 4.1.8 (Add-Ons: onSale, CDSEO, AOM, Thickbox) PHP 4.4.4 SQL 4.1.21 Linux O/S |
|||||||||
#3
|
|||||||
|
|||||||
![]() Not sure that will work...if you disable it, I don't think you can access it. There was a 'hidden categories' mod in the Custom Mods forum a while back...
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#4
|
|||||||||
|
|||||||||
![]() the category products list you should modify the "<xcart_dir>/skin1/customer/main/subcategories.tpl".
1) add the following code: {if $subcat.categoryid ne 249 and $subcat.categoryid ne 250} right after these strings: <table cellspacing="0" cellpadding="5" width="100%"> {foreach from=$subcategories item=subcat} where 249 and 250 are the category IDs which you need to hide. If you want to hide only one category (i.e. Logos, its ID is 249) you should add this string: {if $subcat.categoryid ne 249} instaed of {if $subcat.categoryid ne 249 and $subcat.categoryid ne 250} 2) add the following string: {/if} just before these strings: {/foreach} </table> {/if} If you have problems applying the modification, I can do it for you for you
__________________
Web Design Web Design and Custom X-Cart Projects http://www.dataviking.com Mention the forums for discounts! x-cart Version 4.1.8 |
|||||||||
#5
|
|||||||
|
|||||||
![]() I made this modification but the category is still showing in the menu. Is this just for subcategories? I have a primary category I want to hide in this fashion.
__________________
www.littlelizard.com X-Cart version 4.1.8 |
|||||||
#6
|
|||||||||
|
|||||||||
![]() Hello, i intrested to in this modification !!!!! (was possible in my old cartversion)
i've to clean up my categories.. there are full, i dont wanna loose some products en make them available for search. but unfortunely; the guy answer for subcategories.. ![]() Maybe i can make an (/if) statement anywhere else? if that make sense? somebody ? grt sensationrecords.com
__________________
Core version: 5.3.4.4 PHP: 5.6 Web server: Apache ---stll running a--- x-cart PRO 4.1.6 [unix] updated to 4.1.9 Belgium |
|||||||||
|
|||
X-Cart forums © 2001-2020
|