My store is going to be selling cards and calendars so i thought it would be quite cool if the list of products had a little image of each product which you could click on to see a bigger image in a new window. Sounds simple and i have a feeling it should be =S...
I have the thumbnail picture as %%image%%, and the bigger picture as %%db_user1%%
This is the section of code creating the hyperlink in 'productPage-1b.inc':
<A HREF="%%scripturl%%?cart_id=&p_id=%%ProductID%%
&xm=on&ppinc=search2" target="_new">%%image%%</a>
Which links to the page 'productPage-search2.inc'. It contains this....
<TD ALIGN="CENTER" WIDTH="300">
%%db_user1%%</TD>
But heres the problem... it just prints the line '%%db_user1%%' on the page rather than looking up the value of it and showing the picture. If putting %%image%% works, why doesnt %%db_user1%% ?!
Cheers for your help - im stumped.
Dai
_________________
If at first you dont succeed, destroy all the evidence you tried...