If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / Remove Month / Category Name in New, Featured Products Header...

Remove Month / Category Name in New, Featured Products Header...

Started by uncharted on 15 May 2012, 7:56 PM · Views: 870

Results 1 to 5 of 5
15 May 2012, 7:56 PM
#1
uncharted avatar

uncharted

New Zenner

Join Date:
Oct 2011
Posts:
68
Plugin Contributions:
0

Remove Month / Category Name in New, Featured Products Header...

Hello,

How do I delete the Month / Category Name in the New Products Header center box? Instead of "New Products For May / New Products For May - Category Name", just "New Products".

Thank you

15 May 2012, 8:04 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,140
Plugin Contributions:
56

Re: Remove Month / Category Name in New, Featured Products Header...

Use your admin's Tools->Developers ToolKit and search for the string "new products" (without the quotes) in all catalog files. That will tell you which of the files that text string is in so that you can make the change you require. The full text string probably has a %s in it (to accept different months/category names); it's OK to just have a fixed text string like you want.

Remember to copy the language file from /includes/languages/english to /includes/languages/english/YOUR_TEMPLATE before you make your changes.

15 May 2012, 8:35 PM
#3
uncharted avatar

uncharted

New Zenner

Join Date:
Oct 2011
Posts:
68
Plugin Contributions:
0

Re: Remove Month / Category Name in New, Featured Products Header...

Thank you. I got rid of the "month" but I cannot find where to delete the category name.
I checked and edited all files that has New Products %s but none of them deleted the category name.
Any idea where this might be?

16 May 2012, 12:12 PM
#4
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,140
Plugin Contributions:
56

Re: Remove Month / Category Name in New, Featured Products Header...

The define that contained the "New Products for %s" is named TABLE_HEADING_NEW_PRODUCTS. Use your admin's Tools->Developers Tool Kit to search for that name in all catalog files and it will show you the name of the PHP file that appends the category name ...

16 May 2012, 5:31 PM
#5
uncharted avatar

uncharted

New Zenner

Join Date:
Oct 2011
Posts:
68
Plugin Contributions:
0

Re: Remove Month / Category Name in New, Featured Products Header...

Thank you.
Found it now. Was only searching "New Products" and that's why the one for category name didnt show up.