Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

click to enlarge - won't work


jeffd

Recommended Posts

Posted

Hi

I have just added my first item to the shop and find that when I click on the photo/click to enlarge nothing happens - it's as if it isn't there?

 

help!!!

 

Jeff ;-)

Posted

open your catalog\product_info.php file and check 2 things:

 

1. There is a popupwindow javascript function defined

2. There is a call to that function with an: echo '<a href="java script:popupWindow(\\\''......... etc.

Posted
open your catalog\product_info.php file and check 2 things:

 

1. There is a popupwindow javascript function defined

2. There is a call to that function with an: echo '<a href="java script:popupWindow(\\\''......... etc.

 

 

Just checked and it seems ok .. here is code

 

document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');

 

 

Still have same problem though :-(

Posted

ok, do you get a jscript error when you click the picture? (with ie check the lower left part of the status bar of the browser). Also do you block by any chance the popups or you have jscript disabled?

Archived

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

×
×
  • Create New...