Facebook Comments and Woocommerce

Hello,

First off for some reason my ratings are not showing in my store, they are turned on in both customizer and woocommerce. Second when they did show up there was no rating system allowed on the products with facebook comments turned on. No star system and no are to even type a review, just a blank tab. Any thoughts?

Hi There,

You could try testing for a plugin conflict first. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

If this is not a plugin issue, would you mind providing us with login credentials so we can take a closer look on your setup? Please provide following information:

Set it as Secure Note

  • WordPress Admin username / password
  • Sample product page where the issue persist.

All the best!

I have had no plugin conflicts so here is the login info.

Hi There,

I can see the issue that once enable, facebook comment plugin totally replace the content of the review tab and will forward this to our developer for investigation. We’re sorry for the inconvenience this has caused you. We will let you know once we have an update.

Hi there

I have the same problem. Activated the FB comments and the correct API.
I disabled the woo reviews because they conflicted the FB comment if i remember correctly.
Thanks in advance!

Hi guys,

Yes, it will replace the reviews section and it’s made that way. Though I added this code but has no effect

add_action('init', 'remove_fb_comment_review', 99999);
function remove_fb_comment_review () {
 if ( is_singular('product') ) remove_filter( 'comments_template', 'tco_facebook_comments_template' );
}

That should remove the facebook comment in review section. Perhaps, I will need your FTP login credentials as well so I could directly change the template, OR, please follow this

  1. Edit this file \wp-content\plugins\tco-facebook-comments\functions\output.php
  2. Change this line of code
if ( isset( $tco_facebook_comments_enable ) && $tco_facebook_comments_enable == 1 ) {

to this

if ( isset( $tco_facebook_comments_enable ) && $tco_facebook_comments_enable == 1 && !is_singular('product') ) {

@joybram You could try that too, and please start a new topic/thread about this as you shouldn’t post your credentials in someone’s thread even if it’s in a secure note :slight_smile:

Thanks!

What would be the proper way to do this with a child theme? Create the same folder/file structure correct? Than this way any updates will not overwrite these changes to the templates?

Hi,

Regretfully it is not possible in the child theme.

You need to edit it directly at this time and just take note of it on the next update.

Thanks

Ok with this being said are you guys going to add this to any future updates so we wont have to manually edit the theme files every update?

Hi there @powersnw,

I’ve made a note in Github for our developers to take a look at for a future release. :slight_smile:

Thanks!