Ugh, just noticed our
/review/product/list/id/99/category/345/#review-form
page does not display the review form at all.
I succesfully added it to the tabs with the help of this thread, but that is not enough. Can anybody PLEASE point us in the right direction as to where we can check this?
We used winmerge to compare all files in both default and our custom skin, but no luck in finding a fix. Must be some xml file i am sure, just don’t know which one:/
I searched and searched for hours to get a solution. Here’s how I did it:
Reviews laten zien in Magento Modern Theme
1. Open /app/design/frontend/default/modern/layout/catalog.xml
2. Search for: <catalog_product_view>
3. Paste the following beneath it: <block type="review/product_view_list" name="product.info.product_additional_data" as="reviews" template="review/product/view/list.phtml"/>
How to show the reviews inside a tab
1. Search for (catalog.xml) <block type="catalog/product_view_tabs" name="product.info.tabs" as="info_tabs" template="catalog/product/view/tabs.phtml" >
2. Add the following beneath it: <action method="addTab" translate="title" module="catalog"><alias>reviews</alias><title>Reviews</title><block>review/product_view_list</block><template>review/product/view/list.phtml</template></action>
Done!
I searched and searched for hours to get a solution. Here’s how I did it:
Reviews laten zien in Magento Modern Theme
1. Open /app/design/frontend/default/modern/layout/catalog.xml
2. Search for: <catalog_product_view>
3. Paste the following beneath it: <block type="review/product_view_list" name="product.info.product_additional_data" as="reviews" template="review/product/view/list.phtml"/>
How to show the reviews inside a tab
1. Search for (catalog.xml) <block type="catalog/product_view_tabs" name="product.info.tabs" as="info_tabs" template="catalog/product/view/tabs.phtml" >
2. Add the following beneath it: <action method="addTab" translate="title" module="catalog"><alias>reviews</alias><title>Reviews</title><block>review/product_view_list</block><template>review/product/view/list.phtml</template></action>
Done!
to your catalog/product/view.phtml template, and you’re off and running.
Hope that helps. Cheers!
THAT WORKS GR8 FOR ME TOO AND I ALSO FOUND THE OTHER LINE TO BRING THE REVIEW FORM TOO, TO MY PAGE AFTER REVIEWS IN CASE ANY CUSTOMER WOULD LIKE TO ADD ANOTHER REVIEW.
THIS ONE WAS THE LINE I ADDED TO CATALOG JUST AFTER ABOVE MENTIONED LINE TO BE PACED FOR GETTING REVIEWS BY ROB
<block type="review/form" name="product.review.form" as="review_form">
AND CALL THIS LINE AT VIEW.PHTML
<?php echo $this->getChildHtml('review_form') ?>
THAT WORKS GR8 FOR ME TOO AND I ALSO FOUND THE OTHER LINE TO BRING THE REVIEW FORM TOO, TO MY PAGE AFTER REVIEWS IN CASE ANY CUSTOMER WOULD LIKE TO ADD ANOTHER REVIEW.
THIS ONE WAS THE LINE I ADDED TO CATALOG JUST AFTER ABOVE MENTIONED LINE TO BE PACED FOR GETTING REVIEWS BY ROB
<block type="review/form" name="product.review.form" as="review_form">
AND CALL THIS LINE AT VIEW.PHTML
<?php echo $this->getChildHtml('review_form') ?>
Also is there a way I can display just text withouth the raitng stuff? I want to use it just so users can comment on a specific products.
Can I clean up the php file to go without the rating system all you guys/girls think everything will fall apart?
One thing I can’t seem to fix, if anyone can assist:
In order to control the number of reviews on a review page, there appears to be a toolbar / counter (dropdown selection).
As this fix, above allows for the reviews to be shown directly on a product page, we would still need to have some control on how many reviews are displayed at a time… I thought by adding this XML line to the same catalog.xml page, that this would then appear:
The include exists in the list.phtml that wraps around the reviews, see here:
<?php echo $this->getChildHtml('toolbar') ?>
But it doesn’t… any help much appreciated!
Magento 1.4. Change the default number of reviews. Go to app\code\core\Mage\Page\Block\Html\ file Pager.php. Add to line 41 5=>5 in the row with 10=>10 etc.