Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Open Graph Meta Tags for OSC?


hawken

Recommended Posts

Posted

I'm trying to figure out how to implement the Open Graph tags to work with each product on my OSC 2.3.1 site.

 

Using the Facebook comment box, when a user comments and opts to share on FB, the link to the product, it links them to whatever I put in the OG Meta Tags, instead of the actual products title and meta tags etc.

 

So how can I echo the individual product title and description etc. (from HeaderTags SEO 3 Mod) so that it's something like this:

 

<meta property="og:site_name" content="<?php echo TITLE; ?>">

instead of

<meta property="og:site_name" content="YOUR_SITE_TITLE_HERE">

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...