Customerreviews
ekmTags: [ekm:customerreviews]
For use on Product Pages Only
This tag adds a 'Write a Review' link on your product pages and displays any customer reviews for the product the visitor is currently viewing.
| Full Tag | |
[ekm:customerreviews]
show='yes';
editbuttonposition='right';
id='auto';
html_before='<div><hr /><p><b>Customer Reviews</b></p><p><a href="[url]">
Write an online review</a> and share your thoughts with other shoppers!</p>';
html_after='</div>';
html_review='<p>[reviewer]-[location]-[stars]</p><p>[review]</p>';
html_no_reviews='<p>Be the first to
<a href="[url]">review this product</a></p>';
limit='2';
orderby='rating DESC, date ASC';
[/ekm:customerreviews]
| |
Tag Parameters
| show | ||||||
|
Allows you enable or disable the showing of customer reviews.
| ||||||
| editbuttonposition | ||||||||||||
|
Allows you to specify how the edit buttons should be positioned when you are logged in. A positioned edit button will overlap the surrounding elements.
| ||||||||||||
| id | ||||||||
|
Allows you to specify a product id to display customer reviews for.
| ||||||||
| html_before | ||||||
|
The output to appear before any customer reviews.
| ||||||
| html_after | ||||||
|
The output to appear after any customer reviews.
| ||||||
| html_review | ||||||
|
The output for each customer review.
| ||||||
| html_no_reviews | ||||||
|
The output for when a product has no product reviews. This will be output after 'html_before' and before 'html_after'.
| ||||||
| limit | ||||||
|
You can specify the maximum number of customer reviews to output.
| ||||||
| orderby | ||||||||
|
You can specify the order that customer reviews should be output. You can order by date and/or rating. You can also use ASC (Ascending) and DESC (Descending). For example: orderby='date, rating DESC';
| ||||||||


