Hi all,
I'm using Zen Cart 1.3.8a.
This seems like an easy tweak, but I've been going around in circles for hours just trying to find where the HTML string is formed.
I'm trying to add an ID tag to the main product image displayed on a product page. I can't figure out/find where the code is being parsed to resultant HTML.
The file templates\My custom\templates\tpl_modules_main_product_image.php contains the code;
[FONT="Courier New"]<?php echo zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT);?>[/FONT]
which outputs the HTML
[FONT="Courier New"]<img src="images/range/CC596.jpg" alt="Slip" title="Slip" width="250" height="341" />[/FONT]
I'd like my HTML to include an ID tag as follows;
[FONT="Courier New"]<img src="images/range/CC596.jpg" alt="Slip" title="Slip" width="250" height="341 ID='PIC' />[/FONT]
Where can I find the code which builds/parses this resultant HTML?
Hope this makes sense. Any help is appreciated.
Thanks in advance.
Regards
erko





