Products     Magento Extension     PCI-Shopping-Carts     Templates       CRELoaded     WordPress Modules     osCommerce Modules       osCommerce Addons       osCommerce Features       osCommerce Management       Payment Modules     CRELoaded Modules       CRE Loaded Addons       CRE Loaded Features       CRE Loaded Management       Payment Modules       CRELoaded Services
Free Stuff
Customization
Templates
Compare Products
You have no items to compare.
Affiliate Info
Affiliate Program FAQ
Affiliate Log In
Recent Orders
Hot Keywords: Order Notification, Order Search, Coupon, Flash Board, Compare, Floating Message, Tracking, Moneris, RSS, Visitor Filter

  Better Product Preview with Lightbox 2

The following osCommerce contribution is a free Opensource code originated from official osCommerce website and provided for your reference only, you may download the original contribution file(s) and install it on your own; or you may request a Paid Installation Service from Agents Of Power; Agents Of Power does the "AS IS" installation on your website, we do not guarantee it will work properly on your website. Extra Paid service is available for repairing the problem from the original contribution or from your website.
If you are using Simple Template System(STS), apply STEP 1 (1-Find <head> tag and add right below it...) to the file /catalog/includes/sts_template.html else it won't work.
If there are apostrophes in your product names, you will need this modification, or else your images will not display:

=======================

document.write('<?php echo '<a href="images/' . $product_info['products_image'] . '" rel="lightbox" title="' . addslashes($product_info['products_name']) . '">' . 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>'; ?>');

=============

Repackaged complete contrib, and modified the Readme and Installation.txt file.



This modified script will position the pop up box 100 pixels below window top.

See it working at http://www.volt-london.co.uk

Not full package, only js.

To install:

1. Backup the original file (I don't really see a good reason for this but this is the usual routine...)

2. Replace the js file on this pack with the one on your server.

If you wish to set the margin yourself, edit line #234 where is shows + 100 to position the image wherever you like. eg. + 50 + 100 + 175 etc.

Modified by Eyal Shoabi - http://www.volt.co.il
   Posted on: 04/19/2009     See contribution details Request Installation with Paid service