On the product page with attribute option I am trying to get a popup window to explain how to fill these option that require putting the javascript on the <head> tag. How can I accomplish that or is their another way to get popup using php?
On the product page with attribute option I am trying to get a popup window to explain how to fill these option that require putting the javascript on the <head> tag. How can I accomplish that or is their another way to get popup using php?
Is this popup to be a clickable link to activate or an automatic popup? If you want a clickable link you can look at the shopping cart help link for an example to clone.
Yes it is a clickable text. What I did on the Demo side I found the head area in common/html_header.php I added the javascript just before the </head> tag
Then on the option I aded the javascript line <A HREF="javascript:deldatePopUp()">Click here for More info</a> where deldate in the head tag refer you to that page as a pop up. It worked eventhough when I edit the option what is showing is <a herf= and in the gray non editable part the rest of the command. That scared me even though it is working I did not move it to live awaiting a reply if it work or will it cause an error somewhere with php.
Were can I find the shopping cart help link?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Yes that exactly what i am looking for how do I clone it? Sorry I am a real newbie.
I created a pop-up file.php similar to info_shopping_cart.php and define it in filenames.php How do i call it using javascript?