Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Where is Line 109


Recommended Posts

Please help!


I am trying to install Lightbox and when I open up the code for the product info page I dont see the part of the code that needs to be replaced. How and where would I put the code?




Can you show what must be replaced and the content of your product_info.php here?




Link to comment
Share on other sites

Try searching for noscript in the file. The code that you want to replace is in a javascript block and is immediately followed by the section for people without javascript, which is in <noscript></noscript> tags. Also look to see if your product_info does an include or a require of a page to display the images. Perhaps you installed a contribution? If your product_info file is just a long series of defines that look like

define('TEXT_PRODUCT_NOT_FOUND', 'Product not found!');
define('TEXT_CURRENT_REVIEWS', 'Current Reviews:');
define('TEXT_MORE_INFORMATION', 'For more information, please visit this products <a href="%s" target="_blank"><u>webpage</u></a>.');
define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.');
define('TEXT_DATE_AVAILABLE', '<font color="#ff0000">This product will be in stock on %s.</font>');
define('TEXT_ALSO_PURCHASED_PRODUCTS', 'Customers who bought this product also purchased');
define('TEXT_PRODUCT_OPTIONS', 'Available Options:');
define('TEXT_CLICK_TO_ENLARGE', 'Click to enlarge');

then you are looking at the wrong product_info file.

Always back up before making changes.

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.

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...