Removing Sub-Category Links

Version 4.2.2 - I’ve added a side menu so now don’t need the sub-categories being listed in the header of each category. I thought this was something that could turned off and on but seems not or I can’t find where :-)

Hi there

just open a newfile in design/themes/your_skin/templates/addons/my_changes/hooks/categories/view.override.tpl

and add this inside


{if $category_data.description || $runtime.customization_mode.live_editor}
{$category_data.description nofilter}

{if $smarty.request.advanced_filter}
{include file="views/products/components/product_filters_advanced_form.tpl" separate_form=true}
{if $products}
{assign var="layouts" value=""|fn_get_products_views:false:0}
{if $category_data.product_columns}
{assign var="product_columns" value=$category_data.product_columns}
{assign var="product_columns" value=$settings.Appearance.columns_in_products_list}
{if $layouts.$selected_layout.template}
{include file="`$layouts.$selected_layout.template`" columns=$product_columns}
{elseif !$subcategories || $show_no_products_block}




{capture name="mainbox_title"}{$category_data.category}{/capture}

clean your cache (admin.php?cc&ctpl) and refresh your category page.


Not having a lot of luck tonight, that didn't work just white paged it.

PLease check in your Addons page if My Changes Addon is enabled (by default isntall is disabled)


It's on, if it wasn't on the changes would be ignored wouldn't they ? anyway it is on. Perhaps I've got a white space in the file, anyway I'll take another look in the morning thanks for help.

Can't understand why this don't work.