This site is running on Multistore Version 9.1
I have added the following html into my SimpleProduct xmlpackage and the icons are working as expected:
HTML Code:
<div class="bookmarks">
<span>Share:</span>
<a href="http://www.facebook.com/sharer.php?u=http://www.mysite.com/(!PAGEURL!)" target="_blank" title="Share This Item on Facebook"><img src="/images/facebook.png" alt="facebook" border="0"></img></a>
<a href="https://twitter.com/share?url=http://www.mysite.com/(!PAGEURL!)" target="_blank" title="Share This Item on Twitter"><img src="/images/twitter.png" alt="twitter" border="0"></img></a>
</div>
The links open twitter/facebook and use the url for tweeting or posting to your wall.
The problem I am having is integrating these few lines into kitproducts.aspx so I can use the same functionality for kit products and normal products.
The icons are displayed with hyperlinks but the (!PAGEURL!) part is not converted to the current page address on the kit products page and is included in the link. (e.g. http://www.mysite.com/(!PAGEURL!) instead of http://www.mysite.com/p-123-product.aspx)
What do I need to replace this with so that the links to twitter and facebook use the correct url for these kit products?