Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I remove the text from the category


Recommended Posts

I have been trying desperately all day looking in forums trying to find the correct place to remove the option of showing the text for the category name, and to only display images (on the first page of the store, not the subcategory). I am trying to totally re-skin my site and this is one of the last major hurdles. If anyone could help me please, it would more than likely stop me going into a mental breakdown! I have attached an image to hopefully help people understand what I am on about.

 

remove_text.jpg

 

 

Cheers

Brad

Link to comment
Share on other sites

/index.php

 

find the code where to show the categories_name,and comment it.ok!

 

 

echo '				<td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br>' . $categories['categories_name'] . '</a></td>' . "\n";

Edited by huaijixiao
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...