Joomla 3.7
VM 3.2.2
Location of bug: Admin Panel - Product - Product Status: Availabiliy field.
http://demo.virtuemart.net/administrator/index.php?option=com_virtuemart&view=product&task=edit&virtuemart_product_id=300 (http://demo.virtuemart.net/administrator/index.php?option=com_virtuemart&view=product&task=edit&virtuemart_product_id=300)
Choose any image in "Select image" dropdown and Image will not show.
Problem location:
\administrator\components\com_virtuemart\assets\js\products.js Line 97:
jQuery('#imagelib').attr({ src:'<?php echo JURI::root(true).$this->imagePath ?>'+$newimage, alt:$newimage });
As you can see - there is php code in JS script instead of path to image ;)
Thank you, I found 2 errors more of the same type. I will reupp the vm3.2.3, for that we have this version.