Author Topic: Custom Field Hack  (Read 1341 times)

steinmuhly

  • Beginner
  • *
  • Posts: 5
Custom Field Hack
« on: January 11, 2012, 14:17:58 pm »
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
Code: [Select]
<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

  • Beginner
  • *
  • Posts: 5
Re: Custom Field Hack
« Reply #1 on: February 12, 2012, 11:07:25 am »
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.