Placing Review Section In Block

Hi,



I know now cs cart have smarty based HTML block. We can add direct .tpl code in blocks.



I am trying to place review for product in block then in tab.



Why: customers can see all reviews without any button click of the tabs.





Can any one guide me which part of file code I can bring into block.







Hope this information will be so helpful to all community members.



If I find any solution I will update . :)





Regards,

RR

Dear RR,



Unfortunately your message is not quite clear. But if you want to put the content of the “Reviews” tab to the special block, please use the following code:



{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=true}
{/if}




It should work with CS-Cart and Multi-Vendor 4.1.x



Thanks

hi @ecomlab. it works perfect. I was looking the same.





How to displace rating review written by the customer if the review is not empty.



Right now the block displays only no post found







thanks again



Edited: A test review is written and approved by admin. (review is shown up in review tab though)

[color=#282828][font=arial, verdana, tahoma, sans-serif]Dear RR,[/font][/color]



[font=“arial, verdana, tahoma, sans-serif”][color=“#282828”]Could you please provide us with the dummy example of the required look and feel? Will try to help you [/color][/font]

Hi,



Well, I just want to place the review tab content under the description section of the product page. I dont want the review should be shown in tab.



I want it to be shown just under the description section. (product page)



hope its clear.



So I planned to place the review code in block.

[color=#282828][font=arial, verdana, tahoma, sans-serif]Dear RR,[/font][/color]



[color=#282828][font=arial, verdana, tahoma, sans-serif]It seems that the issue is caused by the strong cache of static blocks. Please check the article below and try to clear the cache[/font][/color]

yep its some cache stuff. Its shows up now clearly in the block.





How to hide the review tab though @ecomlabs.



I tried editing the review show to disabled. (by doing this the rating and review link under the product title disappeared),



I just want that review tab to be hidden any suggestion.



Thanks for helping me up in this thread.

Dear RR,



The tab can be disabled on the “Products tab” page:



Instant Demo - CS-Cart Multi-Vendor Demo Try Free for 15 days



To disable the section under the product title, please rename or delete the following file



design/themes/basic/templates/addons/discussion/hooks/products/main_info_title.post.tpl



And do not forget to clear the cache )

glad it works perfect and works smooth now like my client requirement.



thanks for your support @ecomlabs

You are welcome.