Facebook Integration 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:

{JFBCGraph 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.

Return to the Facebook for Joomla Home page.

Add the power of Facebook to your Joomla site today!

Subscriptions to JFBConnect entitle you to unlimited support, usage on multiple domains, and access to all new Joomla 1.5, Joomla 1.6, Joomla 1.7 and Joomla 2.5 releases for the duration. Subscriptions are non-recurring and you are free to continue using JFBConnect after your subscription expires!

megaphoneStay up to date with new releases and features. Join our newsletter: