Create backup of the edited files
Open File: administrator/components/com_virtuemart/html/shop.product_details.php
Line 445
From:
echo $tpl->fetch( '/product_details/'.$flypage . '.php' );
To:
//echo $tpl->fetch( '/product_details/'.$flypage . '.php' );
/*Custom code to allow plugins in yout product detail template*/
$template = $tpl->fetch( '/product_details/'.$flypage . '.php' );
$template = vmCommonHTML::ParseContentByPlugins( $template );
echo $template;
/*end custom code*/
Enable tabs&slides plugin from Plugin Manager
On your VM Control Panel > Configuration > Frontend features
Enable content mambots / plugins in descriptions? Yes
(Not sure if this step is necessary)
Open your flypage and insert directly your code...
e.g.
{tab=Description}
php echo $product_description
{tab=Related Products}
php echo $related_products
{tab=Recent Products}
php if( !empty( $recent_products )) {
php echo $recent_products;
php }
{/tabs}
Remember your PHP Tags