Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

click to enlarge


leeann

Recommended Posts

Posted

on my product info page, when you click to enlarge it doesnt work... A mouse over shows the java link, but when you click it it shows error on page then done.. Nothing ever happens

Posted

Heres the file in shoppingcart/popup_image.php

 

<?php

/*

$Id: popup_image.php,v 1.18 2003/06/05 23:26:23 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

require('includes/application_top.php');

 

$navigation->remove_current_page();

 

$products_query = tep_db_query("select pd.products_name, p.products_image from " . TABLE_PRODUCTS . " p left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "' and pd.language_id = '" . (int)$languages_id . "'");

$products = tep_db_fetch_array($products_query);

?>

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html <?php echo HTML_PARAMS; ?>>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

<title><?php echo $products['products_name']; ?></title>

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

<script language="javascript"><!--

var i=0;

function resize() {

if (navigator.appName == 'Netscape') i=40;

if (document.images[0]) window.resizeTo(document.images[0].width +30, document.images[0].height+60-i);

self.focus();

}

//--></script>

</head>

<body onload="resize();">

<?php echo tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name']); ?>

</body>

</html>

<?php require('includes/application_bottom.php'); ?>

Posted
java script:popupWindow('http://bizzy-searchin.com/shoppingcart/popup_image.php?

 

my site

http://www.bizzy-searchin.com/shoppingcart

 

It is a sts bug, I think the fix is adding the javascript to your header but it has been awhile so if I were you I would search the sts support thread for the correct solution.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted
It is a sts bug, I think the fix is adding the javascript to your header but it has been awhile so if I were you I would search the sts support thread for the correct solution.

 

Where is sts support thread i saw others asking the same question and got no answer

Posted
Where is sts support thread i saw others asking the same question and got no answer

 

The thread can be found HERE

 

There is a solution but it has been awhile since I have dealt with a sts store that I do not remember the exact fix.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Archived

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

×
×
  • Create New...