
Si en vuestros diseño de la ficha de producto quereís añadir enlaces a redes sociales sin tener que recurrer a javascripts predefinidos como Share This o Add this aquí os dejo el código correspondiente a cuatro redes sociales:
Facebook:
<a href=”http://www.facebook.com/sharer.php?u=<?php echo $_product->getProductUrl() ?>&t=Check+this+out” target=”_blank” title=”Share this on Facebook” target=”_blank”><img src=”<?php echo $this->getSkinUrl(”) ?>/images/icons/YOUR ICON HERE” alt=”Share on Facebook”/></a>
Delicious
<a href=”http://delicious.com/save” onclick=”window.open(‘http://delicious.com/save?v=5&noui&jump=close&url=’+encodeURIComponent(location.href)+’&title=’+encodeURIComponent(document.title), ‘delicious’,'toolbar=no,width=550,height=550′); return false;”><img class=noborder” src=”<?php echo $this->getSkinUrl(”) ?>/images/icons/YOUR ICON HERE” alt=”Delicious” /> </a>
Google Buzz
<a href=”http://www.google.com/reader/link?url=<?php echo $_product->getProductUrl() ?>&title=<?php echo $this->htmlEscape($_product->getName()) ?>&srcURL=YOUR URL&srcTitle=YOUR SITE NAME” target=”_blank” rel=”nofollow external” title=”Google Buzz This”><img class=”noborder” src=”<?php … Continuar leyendo