Facebook comments code

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemeFacebook comments code

This topic has been marked as not a support question.

Hi there. I got the code for facebook comments. I’m wondering where to do it.

This supposed to be added into body

(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “//connect.facebook.net/en_GB/all.js#xfbml=1″;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));

This code supposed to be added where ever I want facebook comments to appear. Can I know where I need to insert to code to get it to appear on all the product pages ?

div class=”fb-comments” data-href=”http://yoursite.com” data-num-posts=”50″ data-width=”550″>div

Facebook comments is an awesome feature and I think you should strongly consider adding it standard in the next upgrade of shoppica together with recaptcha plugin for contact and reviews. I understand that there is extension for it but I don’t trust them. Prefer your magical work :) Thank you :)

  • This reply was modified 4511 days ago by  DeeperGame.
  • This reply was modified 4511 days ago by  DeeperGame.
December 14, 2011 at 10:14 am #4488
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
December 19, 2011 at 9:45 am #4581

Hi.

Which template do I need to place the code if I want the comment to appear in each and every product page ? Thank you.

  • This reply was modified 4506 days ago by  DeeperGame.
December 19, 2011 at 9:55 am #4584
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
December 19, 2011 at 11:45 am #4595

Works like charm. Thank you ThemeBurn for the awesome support.

December 19, 2011 at 4:17 pm #4608

Glad, we’ve helped, mate :)

Best,
ThemeBurn team

December 19, 2011 at 4:55 pm #4610
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.