News:

Looking for documentation? Take a look on our wiki

Main Menu

Custom Field Hack

Started by steinmuhly, January 11, 2012, 14:17:58 PM

Previous topic - Next topic

steinmuhly

Hello,
i want to make a onchange alert in the Frontend of my Virtuemart 2 . So i search the file where the variable difined.
Here the Code
<span class="product-field-display"><?php echo $field->display ?></span>
in the file \components\com_virtuemart\views\productdetails\tmpl\default.php on line 192

Thanks for your Help

Beate


steinmuhly

Finally, the hack should look like on my current website.
http://www.steinmuhlys-shop.de/index.php?/Dreiecksgeschirre/Dreiecksgeschirr-aus-festem-20mm-Gurt.html

When changing the "Gurtfarbe" appears an image of each color.
Actually, I only need to place my onchange, but unfortunately I have not found the right file.