View Single Post
Old 11-02-2011, 02:37 PM
Eugene Rimmer's Avatar
Eugene Rimmer Eugene Rimmer is offline
Senior Member
Join Date: Jan 2011
Location: Ecwid headquarters
Posts: 7,765

Originally Posted by Laurence Poulin View Post
Thanks Eugene,

I managed to get your script working well within the pages. Pretty amazing stuff.
What I'm trying to do is to display an image on the product page. Tried different ideas but not having much luck. 1. How do I address just the product page. The function(page.PRODUCT) doesn't seem to work for me 2. How would I get an image to appear. I used the amazon address that I took from a gallery for the src. Still don't know enough about javascript but going through the ECHO ECHO Tutorials. What do you think will work inside the API to accomplish my goal of displaying an image on the PRODUCT page?
The example code that is targeting only the product details pages is available in one of my previous replies. You can use it as a strating point, removing the unnecessary parts and adding what you actually need. For the further details, please, let me see the code you have already created.