Tony
06-08-06, 06:34 AM
I am working on adding an auto-resizing larger image popup to the my products page, and have run into a problem I can't seem to get past.
I cannot get the custom field to return a value. I've triple checked that LgImg is a valid code for a custom field, and that the product I am testing on has that custom field populated. But, when I actually load a page with this code,
<a href="&mvt:product:customfield_values:customfields:LgImg;" onclick="return popImage('&mvt:product:customfield_values:customfields:LgImg; ','CharmingShoppe Product Zoom');"><font size="-2">Click here for larger image</font>
This code, generates html that looks like this:
<a href="" onclick="return popImage('','CharmingShoppe Product Zoom');"><font size="-2">Click here for larger image</font></a>
The LgImg value should be returning a value that looks like this: largeimage/4003432.jpg. Instead, I am getting a NULL value back.
Am I doing something wrong here? I am using two other custom fields on this same page, and it is working fine, so I am confident that my syntax is correct, but this has me ripping my hair out.
Tony
I cannot get the custom field to return a value. I've triple checked that LgImg is a valid code for a custom field, and that the product I am testing on has that custom field populated. But, when I actually load a page with this code,
<a href="&mvt:product:customfield_values:customfields:LgImg;" onclick="return popImage('&mvt:product:customfield_values:customfields:LgImg; ','CharmingShoppe Product Zoom');"><font size="-2">Click here for larger image</font>
This code, generates html that looks like this:
<a href="" onclick="return popImage('','CharmingShoppe Product Zoom');"><font size="-2">Click here for larger image</font></a>
The LgImg value should be returning a value that looks like this: largeimage/4003432.jpg. Instead, I am getting a NULL value back.
Am I doing something wrong here? I am using two other custom fields on this same page, and it is working fine, so I am confident that my syntax is correct, but this has me ripping my hair out.
Tony