Hi,
Follow these procedure to include the YouTube plugin (or any kind of plugin that works based on Custom Field)
1- Open this PHP file:
/templates/YOUR_TEMPLATE/html/com_virtuemart/productdetails/default.php
(default.php or flexv2.php depends on what ever layout you are currently using for product details page)
2- Right below the "Add to Cart" button wrapper, Insert this line:
<?php echo shopFunctionsF::renderVmSubLayout('customfields',array('product'=>$this->product,'position'=>'ontop')); ?>
Attachment Pasted_Image_2_17_16__4_56_PM.png not found
FYI: The location is up to you. You can insert this line to wherever you want, but below the add-to-cart button seems like a good place to me.
3- Via "Custom Field" settings, enter "
ontop" to "
Layout Position" field
Attachment Pasted_Image_2_17_16__4_57_PM.png not found
4- The result will be:
Attachment Pasted_Image_2_17_16__4_58_PM.png not found
This procedure can be used to display any kind of Custom Made, VM Custom Field Plugin. Because the idea is the same!
Regards.