I have attempted to add the following code to a smarty block, hoping I could manually decide where to display product comments.
{if $addons.discussion.status == 'A'}
{include file="addons/discussion/views/discussion/view.tpl" object_id=$product.product_id object_type="P" title=__("discussion_title_product") quicklink="disussion_link" no_box=false}
{/if}
The problem is, displays the actual comments but when attempting to add a comment, a small white box appears with no content. See attached screenshots.
CS-Cart 4.3.9
Screen Shot 2016-10-04 at 12.29.11.png
Screen Shot 2016-10-04 at 12.30.06.png
Please make sure that the following file is not renamed or deleted:
design/themes/THEME/templates/addons/discussion/hooks/products/view_main_info.post.tpl
It contains code of the new post content
@eComLabs
Thank, although the file is there, unmodified. The comments work as they should when displaying in a Product Tab, but when adding it as a Smarty Block, they don't.
@eComLabs
Thank, although the file is there, unmodified. The comments work as they should when displaying in a Product Tab, but when adding it as a Smarty Block, they don't.
It is hard to say without code examination. PM me temporary FTP access and we will check it