Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

cuivre

Archived
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Real Name
    koper

cuivre's Achievements

  1. Hi all, The solution to implement magiczoom in an OSC shop is recently given in the dutch osc-forum by 'Joop Buis'. In product_info.php Add: <?php require(DIR_WS_INCLUDES . 'meta_tags.php'); ?> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet_product.css"> <link rel="stylesheet" type="text/css" href="MagicZoom.css"> <script language="javascript"> and <script src="includes/mz-packed.js" type="text/javascript"></script> </head> Find : <td align="left" valign="top"><script language="javascript"><!-- 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']), 350, 272, 'hspace="2" vspace="2"') . '<br>' . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], 350, 272, 'hspace="2" vspace="2"') . '<br>' . '</a>'; ?> </noscript></td> and Replace By: <td align="left" valign="top"> <?php echo '<a href="'. DIR_WS_IMAGES . $product_info['products_image']. '" class="MagicZoom">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') .'</a>' ?> <td> In case it's not working...you can find the original posting over here that's it. regards,
  2. hi there, for me the same question. Inspired by the endless.com website I've finally found this magictoolbox.com/magiczoom website today. Unfortunately there seems to be no OSC contrib so far. Is there anybody who can tell me/us , how to implement the magiczoom code in a OSC shop ? The magiczoom help/website shows me, it is a piece of cake to implement their java script in a standard html website, but regarding OSC i wouldn't know where to put this code. They don't have a help file for it. In the first place I am looking for some hints and tips in which specific files I can paste their code, and offcourse when somebody could make a contrib of it for OSC, that would be awsome. hopefully you can help me/us . thanks in advance, kind regards.
×
×
  • Create New...