This technote will show how you can solve the issue with the product grouping dropdown causing the Facebook comments module to stop working properly.
Problem
When I choose another product from the grouping dropdown, my Facebook Comments widget breaks
Setup (or impacted users or workflow)
This is the setup affected:
- you use product grouping (you have {tag_grouping} on the Product Large Detail layout)
- you have the Facebook comments module on the Product Large Detail Layout
Solution
Follow these steps:
- Go to http://developers.facebook.com/docs/reference/plugins/comments/ and click the "Get Code" button.
Note: do not change the default "URL to comment on" value. - Copy the first part of the code shown on screen (section 1) and paste it in the default template that is used for your e-commerce part of the site right after the <body> tag
- Copy the second part of the code shown in the screenshot above (section 2) and paste it into the container.html file found in the Navigate to File Manager > Module Templates > Social Media >FacebookComments > Default folder:
After pasting the code rename data-href="http://example.com" with data-href="{tag_url}" like so:

If you run into any other issues, please contact the Business Catalyst support team by clicking the Help & Support button on your site.


Comments