1. I want to insert facebook comment just below the product product description, by the way, i am running Joomla 3.6.2 with virtuemart 3.0.17 (both latest version). Could you guide me where to insert the syntax
<?php
// Product Short Description
if (!empty($this->product->product_s_desc)) {
?>
<div class="product-short-description">
<?php
/** @todo Test if content plugins modify the product description */
echo nl2br($this->product->product_s_desc);
?>
</div>
<?php
} // Product Short Description END
echo shopFunctionsF::renderVmSubLayout('customfields',array('product'=>$this->product,'position'=>'ontop'));
?>
{JFBCComments}To fix this, you should use the Open Graph tags to let Facebook know what image and description should be used for the FB wall posts. Adding the Open Graph description tag can be done by modifying the same template file as the above JFBCComments tag. When testing for the image, I chose to override a different template view file for the images. You can see the full tags/files to update at the Virtuemart documentation that I just updated for Virtuemart3. When figuring out the code for that documentation, I tested on a site with the newest V3, so let me know if you have any problems.2. another thing is when I copy the url and insert into the facebook post, there is not image display in the facebook, just title and product description of virtuemart
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.
