Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Remove category title from Product Info

Remove category title from Product Info

Locked

Views: 2,658

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
24 Apr 2007, 7:21 PM
#1
jordana avatar

jordana

New Zenner

Join Date:
Apr 2007
Posts:
72
Plugin Contributions:
0

Remove category title from Product Info

How do I remove the category name on the product info page? I only want the category icon to show.

Thanks.

24 Apr 2007, 8:24 PM
#2
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: Remove category title from Product Info

Go into admin and type in category.

search for #categoryIcon or .categoryIcon

That should tell you which pages it will be on.

Once you find it, try to comment out the lable, but not the icon. Or you can delete the lable.

I'm not sure I'm using the right termnology using the word lable

24 Apr 2007, 8:25 PM
#3
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: Remove category title from Product Info

use the third search field in the toolkit. searching for classes.

24 Apr 2007, 8:27 PM
#4
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: Remove category title from Product Info

nevermind, that didn't work for me.

Sounded damn good though. haha.

24 Apr 2007, 9:26 PM
#5
jordana avatar

jordana

New Zenner

Join Date:
Apr 2007
Posts:
72
Plugin Contributions:
0

Re: Remove category title from Product Info

Yes, I am able to find the category icon, but can't find the label for the text name to be able to remove it.

22 May 2007, 7:55 PM
#6
jordana avatar

jordana

New Zenner

Join Date:
Apr 2007
Posts:
72
Plugin Contributions:
0

Re: Remove category title from Product Info

I am bumping this as I still haven't found a solution.

Thanks.

1 Oct 2007, 11:44 AM
#7
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Remove category title from Product Info

I don't know if this is still open but the answer is to edit the template file 'tpl_modules_category_icon_display.php' and change the line that says:

<div align="<?php echo $align; ?>" id="categoryIcon" class="categoryIcon"><?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new, 'NONSSL') . '">' . $category_icon_display_image . $category_icon_display_name .  '</a>'; ?></div>

to:

<div align="<?php echo $align; ?>" id="categoryIcon" class="categoryIcon"><?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new, 'NONSSL') . '">' . $category_icon_display_image . '</a>'; ?></div>

Then save this file to your custom template folder (./includes/templates/YOUR_TEMPLATE_FOLDER_NAME/templates).

13 Nov 2007, 9:54 PM
#8
cienwen avatar

cienwen

New Zenner

Join Date:
May 2006
Posts:
37
Plugin Contributions:
0

Re: Remove category title from Product Info

Thanks for your reply to this post Hem. I was searching through the forum for a solution to this same problem and your answer has fixed it!

:clap:

16 Dec 2008, 10:16 PM
#9
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Re: Remove category title from Product Info

hem:

I don't know if this is still open but the answer is to edit the template file 'tpl_modules_category_icon_display.php' and change the line that says:

Then save this file to your custom template folder (./includes/templates/YOUR_TEMPLATE_FOLDER_NAME/templates).

Excellent that you took your time to answer. Helped a lot! :)