Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change TEXT_PRODUCT_MORE_INFORMATION text


dhooper

Recommended Posts

Posted

I want to change the more information link text. Currently, it says:

 

For more information, please visit this products <a href="http://%s" target="blank"><u>webpage</u></a>

 

I want it to say:

 

Save 12-24% by ordering direct! please visit this products <a href="http://%s" target="blank"><u>webpage</u></a> for ordering options.

 

I tried changing it in: catalog/admin/includes/languages/english/catagories.php but it still reads the same.

 

Also, I want the link to go to a different website. I put the site in the admin area, but when you click the link it just goes to the cart.

Diana

Posted

I see the change in the admin preview section, but not in the catalog. Any help? :(

Diana

Posted

I believe the text you want to change is in /catalog/includes/languages/english/product_info.php

 

define('TEXT_MORE_INFORMATION', 'For more information, please visit this products <a href="%s" target="_blank"><u>webpage</u></a>.');

What I'm not too sure about is changing the URL.

 

I guess that depends on the URL you want to point to.

 

It gets used in /catalog/product_info.php here:

 

	  <tr>
	<td class="main"><?php echo sprintf(TEXT_MORE_INFORMATION, tep_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($product_info['products_url']), 'NONSSL', true, false)); ?></td>
  </tr>

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

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

×
×
  • Create New...