<?php

	/**
	 * Template für die Facebook META Integration auf einer Produktseite
	 */

?>
 
<meta property="og:title" content="<?php echo $this->view['data']['name']; ?>" />
<meta property="og:type" content="product" />
<?php if ($this->hasMod('wpsg_mod_produktbilder') && isset($this->view['data']['bilder'][0])) { ?>
<meta property="og:image" content="<?php echo $this->callMod('wpsg_mod_produktbilder', 'makeTn', array(
	$this->view['data']['id'],
	$this->view['data']['bilder'][0],
	100,
	100,
	's'
)); ?>" />
<?php } ?>
<meta property="og:url" content="<?php echo $this->view['data']['url']; ?>" />
<meta property="og:description" content="<?php echo $this->view['data']['beschreibung']; ?>" />
 