New Zenner
- Join Date:
- Sep 2009
- Posts:
- 8
- Plugin Contributions:
- 0
Facebook "Like" button on every product page?
Hm, all of these tutorials are for adding the 'like' to the product page, which is all good.. however I want to add it to my header.
I've done it, and it works when it's on a product page - however when on the main page it tries to generate the product ID which it can't do, and so generates 0 and tries to link to that, which gives an error.
I was thinking of doing a bit of an IF work around, ie if mainpage, use a static like url, if on a product one, use the one i'm currently using.
Would this work? If so - what's the best way of implementing it?
Cheers!