Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Pop-up button in product description


newbieman

Recommended Posts

I would like to add a pop-up link (for more product information) inside of a few product detail pages. Unfortunately, the Admin Catalog/Products HTML editor keeps filtering out the Javascript I have tried to add.

 

I should point out that I have tried inserting a link into "Products URL:" section of the Admin Product Edit page but that link is not visable in a manner I prefer. I would rather have a button type of link... which is more visable than plain text.

 

In addition....

 

The "Products URL:" uses the "http://www.storedomain.com/redirect.php?action=url&goto=productlink.html" format.

 

Rather, I would like to "pop-up" this additional product information using the same method employed by clicking on the product picture to "Enlarge."

"java script:popupWindow('http://www.storedomain.com/popup_image.php?pID=50ℑ=0').

 

Any thoughts?

Link to comment
Share on other sites

I should add when I insert a link "Products URL:" section of the Admin Product Edit page... that's where you can place a hyperlink for more product information. This presents a basic link with the default wording, "For more information, please visit this products webpage." "Webpage" is the link that I added in "Products URL:".

 

I want to change this to something more visable to the customer.

 

For example a button box or even better a graphical button. I see the code for this text is:

LINE 29 - define('TEXT_MORE_INFORMATION', 'For more information, please visit this products <a href="%s" target="_blank"><u>webpage</u></a>.');

in \includes\languages\english\product_info.php

 

However, I noticed that after editing this file there was absolutely no change on the website. The only other product_info.php is in the root folder but it contains different code.

 

Any ideas?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...