Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

howto change product_info link to popup?


whoami888

Recommended Posts

Posted

hi,

I'm new here. great to know - you are not alone ... with your prblems (am i??).

Can anybody help me - in the product info - to use the producer's URL to open a popup window - instead of a new browser?

 

I tried writing the javascript in the head of /shop/product_info.php

 

and I think I will have to make change here in /shop/product_info.php

<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>

 

and also in /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>.');

(very untidy!)

 

 

thank you helpers!

who

Archived

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

×
×
  • Create New...