Facebook for Virtuemart Questions

How can I set the Open Graph Image for the Flypage of Virtuemart?

When using JFBConnect to add Like buttons to your Virtuemart pages, you may notice that when a user Like's your products, a non-product image from the page may show in the user's wall. To fix this, you should use the Open Graph tags to let Facebook know what image should be used for wall posts. Adding the Open Graph tag can be done by modifying the flypage template file for the product page with the following code:

{SCOpenGraph image=<?php echo IMAGEURL.'product/'.$productArray['product_thumb_image']; ?>}

For our testing, we added the code above to the /components/com_virtuemart/themes/default/templates/product_details/flypage.tpl.php file. This should be added just like normal HTML (outside of any PHP blocks). It can be added anywhere in the file, position does not matter.


Social Stream
SourceCoast Joomla Social Extensions
Thursday, 14 May 2015
An update for JFBConnect will be released soon for compatibility with the latest LinkedIn API changes. If you are in the minority of users that are running into issues, please visit our support area where we can help get you fixed up quickly! https://lnkd.in/eRr-PPa
SourceCoast Joomla Social Extensions
Wednesday, 13 May 2015
Tons of great new features in JFBConnect v6.3, including Yahoo integration, Joomla 3.4 support, a new connection manager area and much more. Read on to lear more.
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program