Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Show Model Picture v1a


Recommended Posts

i've installed this but the popup dont work ? Any idea's on whats happening here

My config looks like: Please note i've change my real domain name to mydomain !!!

 

  define('HTTP_SERVER', 'http://www.mydomain.com');
 define('HTTPS_SERVER', 'http://www.mydomain.com');
 define('ENABLE_SSL', false);
 define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com');
 define('HTTPS_COOKIE_DOMAIN', 'www.mydomain.com');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/catalog/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/home/********/public_html/catalog/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

This looks ok variable wise does to me !

 

REPLACE WITH 

NOTE:  YOUR OSCommerce may use slightly different configuration variables.  
You can verify the line below containing by looking at your 
/catalog/includes/configure.php file.  Change as required.

href="java script:popupWindow(\'' . HTTP_CATALOG_SERVER . DIR_WS_CATALOG . DIR_WS_IMAGES .  $orders_products_pic['products_image'] .'\''.')">'

##############################################################

  $orders_products_pic_query = tep_db_query("select products_model, products_image from " . TABLE_PRODUCTS . " where products_id = '".(int)$order->products[$i]['id']."' ");
  $orders_products_pic = tep_db_fetch_array($orders_products_pic_query);

  echo '	</td>' . "\n".

	  '			<td class="dataTableContent" valign="top"><a href="java script:popupWindow(\'' . HTTP_SERVER . DIR_WS_HTTP_CATALOG . DIR_WS_IMAGES .  $orders_products_pic['products_image'] .'\''.')">'. $order->products[$i]['model'] . '</td>' . "\n" .

 

This is the mod i'm trying to install > http://www.oscommerce.com/community/contributions,5736

Edited by digital_sc4rz
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...