osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

questions about "Categories" menu...

This is a discussion on questions about "Categories" menu... within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; In the Categories menu, when you have sub-categories it displays in like: Clothes->(5) How do I get rid of the ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 10-19-2002, 09:36 AM
Anonymous
Guest
 
Posts: n/a
Default questions about "Categories" menu...

In the Categories menu, when you have sub-categories it displays in like:

Clothes->(5)

How do I get rid of the " ->(5) "

Also, is there a way to have each category displayed as an image, for example, instead of the type "clothes" I would have and image that says "Clothes" ?

Thank you, Ian
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 10-19-2002, 03:53 PM
Anonymous
Guest
 
Posts: n/a
Default i also want something similair

Like having it [IMAGE]Category
Also is there a way to remove the number?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 10-19-2002, 09:50 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,061
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

From the guide:

Quote:
PRODUCT NUMBERS REMOVAL/COLUMN WIDTHS CHANGES:
Q. How do you remove the numbers showing how many products in each category?
A: Find /catalog/includes/application_top.php
about line 135 look for this code:
define('SHOW_COUNTS', 1); // show category count: false=disable; true=enable
change true to false
Your other question, about images, is not specifically covered in the current version of the guide, but you will need to edit the block (the files that create the block). It is a bit more involved, but should be fairly straightforward once you get started. I will give it a whirl when I get some time.

If anyone has already done this, please post your code changes. Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 10-20-2002, 10:42 AM
Anonymous
Guest
 
Posts: n/a
Default

I figured out how to do the images...
in the categories.php (path= catalog/includes/boxes/categories.php)

look for this line
Code:
$categories_string .= $foo[$counter]['name'];
and replace it with
Code:
$categories_string .= '<img src="images/' . $foo[$counter]['name'] . '.gif" width="152"* height="24" border="0">';
Thank you, Ian
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
The Following User Says Thank You to For This Useful Post:
typhus (02-22-2008)
  #5  
Old 10-20-2002, 10:42 AM
Anonymous
Guest
 
Posts: n/a
Default

I figured out how to do the images...
in the categories.php (path= catalog/includes/boxes/categories.php)

look for this line
Code:
$categories_string .= $foo[$counter]['name'];
and replace it with
Code:
$categories_string .= '<img src="images/' . $foo[$counter]['name'] . '.gif" width="152"* height="24" border="0">';
Thank you, Ian
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Remove "QTPRO" for "Option Type Feature" adam71o osCMax v2 Customization/Mods 3 01-10-2007 10:32 AM
"Price" and "Add to Cart" button inside midwestwebsites osCMax v2 Customization/Mods 3 11-14-2005 05:13 AM
"Skinning" Categories box when using dhtml menu dron osCommerce 2.2 Modification Help 0 03-07-2005 06:06 AM
Remove "in cart" Button for individual categories Mongrrr osCommerce 2.2 Modification Help 0 04-24-2003 07:02 AM
Remove "->" from categories b8graphics osCommerce 2.2 Modification Help 1 02-17-2003 09:06 PM


All times are GMT -8. The time now is 11:08 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax