Forums / Templates, Stylesheets, Page Layout / Help removing "date-text-added" from pg

Help removing "date-text-added" from pg

Locked

Views: 1,070

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
31 Jul 2009, 6:40 AM
#1
melindaf avatar

melindaf

New Zenner

Join Date:
Jul 2009
Posts:
37
Plugin Contributions:
0

Help removing "date-text-added" from pg

Hi, I am having trouble finding the code to remove the text: "date_text_added" I am not sure what file to look in. My friend and I tried to remove the date that products are added to the site. Please help! :dontgetit

31 Jul 2009, 11:54 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Help removing "date-text-added" from pg

First, as I mentioned in your other post, always include a link to your site when you post a question, so that we can see the problem.

You can turn that 'date added' line off in admin, so you didn't need to change any files.

It's a little obscure, but a lot of the settings for the product info page are in Admin - Catalog - Product Type - Edit Layout.

31 Jul 2009, 4:18 PM
#3
melindaf avatar

melindaf

New Zenner

Join Date:
Jul 2009
Posts:
37
Plugin Contributions:
0

Re: Help removing "date-text-added" from pg

The link to the website is:http://bohemianglitz.com/

31 Jul 2009, 4:42 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Help removing "date-text-added" from pg

I'm just guessing, but I suspect you removed line 12 in includes/languages/english/product_info.php.

If that's the case, replace that file from a new copy of the Zencart zip file.

When you want to remove text from define files, just remove the part between the single quotes:

**Line #12 : define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.'); **

would be:

**Line #12 : define('TEXT_DATE_ADDED', ''); **

Be sure to leave the single quote marks.

1 Aug 2009, 6:38 AM
#5
melindaf avatar

melindaf

New Zenner

Join Date:
Jul 2009
Posts:
37
Plugin Contributions:
0

Re: Help removing "date-text-added" from pg

Thank you so much. It is now fixed! :smile: