Not sure if this is a bug or setting issue.
I've 25 reviews on a product but the counter only say 10.
I've checked on my ADD-ONS->Settings: Comments and reviews-> POST PER PAGE = 10
If I leave post per page = blank it will count correctly and display “25 reviews” on the product detail page.
But I want to the system to display 10 review post per page and still be able to get the right count on the reviews. Any help is appreciated.
Thank you
[quote name='kickzz' timestamp='1399546527' post='183141']
Not sure if this is a bug or setting issue.
I've 25 reviews on a product but the counter only say 10.
I've checked on my ADD-ONS->Settings: Comments and reviews-> POST PER PAGE = 10
If I leave post per page = blank it will count correctly and display “25 reviews” on the product detail page.
But I want to the system to display 10 review post per page and still be able to get the right count on the reviews. Any help is appreciated.
Thank you
[/quote]
It looks like a bug. To fix it please open the “design/themes/basic/templates/addons/discussion/hook/main_info_title.post.tpl” file and replace this line of code:
{$product.discussion.posts|count} {__("reviews", [$product.discussion.posts|count])}
with this one:
{$product.discussion.search.total_items} {__("reviews", [$product.discussion.search.total_items])}
Thanks.
[quote name='eComLabs' timestamp='1399547993' post='183144']
It looks like a bug. To fix it please open the “design/themes/basic/templates/addons/discussion/hook/main_info_title.post.tpl” file and replace this line of code:
{$product.discussion.posts|count} {__("reviews", [$product.discussion.posts|count])}
with this one:
{$product.discussion.search.total_items} {__("reviews", [$product.discussion.search.total_items])}
Thanks.
[/quote]
Thank you, Updated with your code. CC&CTPL
Everything is working like it should now. Thank you again for your help.
You are welcome! Have a great day!