News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Open Graph

Started by encreplus, November 13, 2015, 18:11:14 PM

Previous topic - Next topic

encreplus

Good day

Is there a way to show prices and description of the product when using addthis facebook ?

Stefan


GJC Web Design

you need to add the og tags to your template  - research joomla  $document->addCustomTag
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Jumbo!

You can use this FREE plugin - VM OG Meta Tag - https://www.virtueplanet.com/extensions/vm-og-meta-tag

It will automatically add all required Open Graph tags to your full site which includes products, categories and also Joomla articles.

encreplus

Quote from: Jumbo! on November 24, 2015, 23:14:22 PM
You can use this FREE plugin - VM OG Meta Tag - https://www.virtueplanet.com/extensions/vm-og-meta-tag

It will automatically add all required Open Graph tags to your full site which includes products, categories and also Joomla articles.

I already try this plugin ... but it dosent show the prices when send to google+, facebook, pin ...


Jumbo!

Open Graph has no relation with Google Search. You will need to use Schema Markups (http://schema.org) for the same in your layouts/designs. But Google+ will never display price in any shares.

Open Graph is specifically designed for Facebook. But Facebook also never display price in any shares. Open Graph price property is used by Facebook for a completely different purpose. It becomes useful if you sell your products on Facebook. They also have few other futuristic ideas. You can learn more about them searching Google or in Facebook developers portal.

john21wall

Thanks for the info on this free supplement in handy to me

encreplus

Quote from: Jumbo! on November 29, 2015, 08:33:33 AM
Open Graph has no relation with Google Search. You will need to use Schema Markups (http://schema.org) for the same in your layouts/designs. But Google+ will never display price in any shares.

Open Graph is specifically designed for Facebook. But Facebook also never display price in any shares. Open Graph price property is used by Facebook for a completely different purpose. It becomes useful if you sell your products on Facebook. They also have few other futuristic ideas. You can learn more about them searching Google or in Facebook developers portal.

Your previous version i was abble to change it and add the price code ... but your coding change in this new one so i cant change it ;((((

Jumbo!

Open graph Price property already existed in the plugin. You do not need to add it yourself.

encreplus

#8
What i mean is that in your previous version i was abble to add the code and facebook, google+ and twitter was showing the price of the product ;) Now in your new version for vm3 i cANT ...

In your previous i have done this :

  $vmogmetatag_title = "\r\n" .'  <meta property="og:title" content="'.$vmogmetatag_title_instance.' '.number_format((float)$product->prices['salesPrice'], 2, '.', '').'"/>'. "\r\n" ;

encreplus