This code enables you to add your favorites comments system to single product pages in WooCommerce. In this case, we use pure code to add Facebook comments as a separate tab right next to the reviews tab like this :
This enables your customers to ask questions and get replies from the store owner and other customers, relating to each single product without leaving support, pre sales and other feedback as reviews.
Install the zip folder as a new plugin or copy and paste the PHP code to the end of your child themes functions.php file or custom functionality plugin.
On line 30 in plugin.php, swap out wpsites.net in the code with a link to your Facebook page.