If you put it as-is in a PHP file as I indicated, it will work fine. No need to use a .js file.
If you put it as-is in a PHP file as I indicated, it will work fine. No need to use a .js file.
.
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.
Thanks a lot DrByte. That worked fine. In retrospect, I see I could have just tried it, and then seen the results with a "view source". I would have seen that it worked just fine. Sorry for the extra query. I didn't grasp what you were telling me to do at first.
No worries. If you peek at the wiki link I posted earlier in this thread you'll see more about how this works.
.
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.
Hey guys, seems new forum posts are often missed, i created a new post after reading this post and trying to make an on load js file. it sort of worked so im close, was hoping someone could assst me in working out where i went wrong, im just trying to add trust pilot to my sites header to try and boost sales, if anyone can spare a bit of time to help be eternally grateful :)
https://www.zen-cart.com/showthread....ght=trustpilot
Bookmarks