Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do you get rid of these?


rumi

Recommended Posts

Right next to my products it says, "this product was added to our catalog on [then the date]." And right under that it says the manufacturers name. Id like to remove completly the product added text and change the word Manufacturer to "Artists." Can this be done?

Link to comment
Share on other sites

Right next to my products it says, "this product was added to our catalog on [then the date]." And right under that it says the manufacturers name. Id like to remove completly the product added text and change the word Manufacturer to "Artists." Can this be done?

The first one you can change through the (catalog)/includes/languages/english/product_info.php.

Find & change:

define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.');

to

define('TEXT_DATE_ADDED', '');

 

I am not sure which Manufacturer occurence you want to change but for ie. the left Manufacturers infobox it is (catalog)/includes/languages/english/english.php

Find & change:

define('BOX_HEADING_MANUFACTURERS', 'Manufacturers');

to

define('BOX_HEADING_MANUFACTURERS', 'Artists');

 

If it is about the Manufacturer Infobox on the right column when viewing a product it is (catalog)/includes/languages/english/english.php

Find & change:

define('BOX_HEADING_MANUFACTURER_INFO', 'Manufacturer Info');

to

define('BOX_HEADING_MANUFACTURER_INFO', 'Artist Info');

 

If you have more languages you have to repeat these steps for those also. Essentialy you change all language related text this same way.

 

HTH

Link to comment
Share on other sites

The first one you can change through the (catalog)/includes/languages/english/product_info.php.

Find & change:

define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.');

to

define('TEXT_DATE_ADDED', '');

 

I am not sure which Manufacturer occurence you want to change but for ie. the left Manufacturers infobox it is (catalog)/includes/languages/english/english.php

Find & change:

define('BOX_HEADING_MANUFACTURERS', 'Manufacturers');

to

define('BOX_HEADING_MANUFACTURERS', 'Artists');

thank you very much--I will try these.

 

If it is about the Manufacturer Infobox on the right column when viewing a product it is (catalog)/includes/languages/english/english.php

Find & change:

define('BOX_HEADING_MANUFACTURER_INFO', 'Manufacturer Info');

to

define('BOX_HEADING_MANUFACTURER_INFO', 'Artist Info');

 

If you have more languages you have to repeat these steps for those also. Essentialy you change all language related text this same way.

 

HTH

Link to comment
Share on other sites

The first one you can change through the (catalog)/includes/languages/english/product_info.php.

Find & change:

define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.');

to

define('TEXT_DATE_ADDED', '');

 

I am not sure which Manufacturer occurence you want to change but for ie. the left Manufacturers infobox it is (catalog)/includes/languages/english/english.php

Find & change:

define('BOX_HEADING_MANUFACTURERS', 'Manufacturers');

to

define('BOX_HEADING_MANUFACTURERS', 'Artists');

 

If it is about the Manufacturer Infobox on the right column when viewing a product it is (catalog)/includes/languages/english/english.php

Find & change:

define('BOX_HEADING_MANUFACTURER_INFO', 'Manufacturer Info');

to

define('BOX_HEADING_MANUFACTURER_INFO', 'Artist Info');

 

If you have more languages you have to repeat these steps for those also. Essentialy you change all language related text this same way.

 

HTH

 

 

thank you. I was able to remove "this product was add" but not the text that says when the product was added. I tried commenting out: define(TEXT-DATE_ADDED) but that didnt work. And I tried removing the entry completely.

I was able to replace "manufacturer" with "artist."

Link to comment
Share on other sites

thank you. I was able to remove "this product was add" but not the text that says when the product was added. I tried commenting out: define(TEXT-DATE_ADDED) but that didnt work. And I tried removing the entry completely.

Are you referering to the text in the product listing with the new products ?

Date Added: Sunday 21 January, 2007

 

For that you have to edit the (catalog)/includes/languages/english/products_new.php and change

define('TEXT_DATE_ADDED', 'Date Added:');

to

define('TEXT_DATE_ADDED', '');

 

You need an extra step to get rid of the date too by changing the source file (catalog)/products_new.php

Find

			<td width="<?php echo SMALL_IMAGE_WIDTH + 10; ?>" valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $products_new['products_image'], $products_new['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>'; ?></td>
		<td valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) . '"><b><u>' . $products_new['products_name'] . '</u></b></a><br>' . TEXT_DATE_ADDED . ' ' . tep_date_long($products_new['products_date_added']) . '<br>' . TEXT_MANUFACTURER . ' ' . $products_new['manufacturers_name'] . '<br><br>' . TEXT_PRICE . ' ' . $products_price; ?></td>

and replace that with

			<td width="<?php echo SMALL_IMAGE_WIDTH + 10; ?>" valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $products_new['products_image'], $products_new['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>'; ?></td>
		<td valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) . '"><b><u>' . $products_new['products_name'] . '</u></b></a><br>' . TEXT_DATE_ADDED . '<br>' . TEXT_MANUFACTURER . ' ' . $products_new['manufacturers_name'] . '<br><br>' . TEXT_PRICE . ' ' . $products_price; ?></td>

or simply remove the part

 . ' ' . tep_date_long($products_new['products_date_added'])

Link to comment
Share on other sites

Are you referering to the text in the product listing with the new products ?

Date Added: Sunday 21 January, 2007

 

For that you have to edit the (catalog)/includes/languages/english/products_new.php and change

define('TEXT_DATE_ADDED', 'Date Added:');

to

define('TEXT_DATE_ADDED', '');

 

You need an extra step to get rid of the date too by changing the source file (catalog)/products_new.php

Find

			<td width="<?php echo SMALL_IMAGE_WIDTH + 10; ?>" valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $products_new['products_image'], $products_new['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>'; ?></td>
		<td valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) . '"><b><u>' . $products_new['products_name'] . '</u></b></a><br>' . TEXT_DATE_ADDED . ' ' . tep_date_long($products_new['products_date_added']) . '<br>' . TEXT_MANUFACTURER . ' ' . $products_new['manufacturers_name'] . '<br><br>' . TEXT_PRICE . ' ' . $products_price; ?></td>

and replace that with

			<td width="<?php echo SMALL_IMAGE_WIDTH + 10; ?>" valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $products_new['products_image'], $products_new['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>'; ?></td>
		<td valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) . '"><b><u>' . $products_new['products_name'] . '</u></b></a><br>' . TEXT_DATE_ADDED . '<br>' . TEXT_MANUFACTURER . ' ' . $products_new['manufacturers_name'] . '<br><br>' . TEXT_PRICE . ' ' . $products_price; ?></td>

or simply remove the part

 . ' ' . tep_date_long($products_new['products_date_added'])

 

 

THANK YOU Harold, that did it.

Link to comment
Share on other sites

  • 2 years later...

Hello is this thread sTill Active .. You have removed the text Your Product has been added" right?? Can you still figure out how to change it to another text like i say i would like to post the details of my warranties and postage there? could you lend me some help pls?? here is the sample i have already removed that old text and date..

 

sample

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...