selectselectselect
Call our Sales Hotline
0844 858 8580
User Guides

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] 


Example Output

Customer Reviews

Write an online review and share your thoughts with other shoppers!

Reviewer: John Bradbury from Lancashire Stars 4.gif

This gift should carry a health warning! I now suffer from insomnia since I bought this Ant Works... I find myself acting like a mother with a newborn... the slightest noise in the night and I'm up checkin on me little fellas just to make sure he ain't dug a one way tunnel into a perspex wall and bashed his little antenna in! My next step is to get the little fellas to breed; I managed to find a female ant in my backgarden with a big booty on her... I have even started to play Barry White, dim the lights and lock the bedroom door for the little fellas (not all my ants are exhibitionists)!

Tag Parameters

show

Allows you enable or disable the showing of customer reviews.

Possible Values
yes Shows the customer reviews
no Hides the 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.

Possible Values
inline default
left
right
left bottom
right bottom



id

Allows you to specify a product id to display customer reviews for.

Possible Values
Default auto
random

A Randomly selected product ID.

The pool of product from which a random one is picked is limited to those products with reviews. A product without any reviews will never be picked.

User Defined

product id of the product whose reviews are to be displayed



html_before

The output to appear before any customer reviews.

Possible Values
Default

Customer Reviews

<a href="[url]">Write an online review </a> and share your thoughts with other shoppers!



User Defined

You can use any HTML or plain text code. You can also use the following tags.

[url]
The URL to the review form.

[id]
The ID of the product whose reviews are currently being displayed



html_after

The output to appear after any customer reviews.

Possible Values
Default
User Defined

You can use any HTML or plain text code. You can also use the following tags.

[url]
The URL to the review form.

[id]
The ID of the product whose reviews are currently being displayed



html_review

The output for each customer review.

Possible Values
Default Reviewer: [reviewer] from [location].[stars]
[review]

User Defined

You can use any HTML or plain text code. You can also use the following tags.

[reviewer]
The name of the reviewer.

[location]
The location of the reviewer.

[stars]
The star rating graphic. This is a HTML 'img' tag.

[star-value]
The star rating in plain text, for example: '4'.

[review]
The actual review text.

[id]
The id of the product whose reviews are being displayed.



html_no_reviews

The output for when a product has no product reviews. This will be output after 'html_before' and before 'html_after'.

Possible Values
Default
User Defined

You can use any HTML or plain text code. You can also use the following tags.

[url]
The URL to the review form.

[id]
The ID of the product whose reviews are currently being displayed



limit

You can specify the maximum number of customer reviews to output.

Possible Values
Default 50
User Defined

A whole number in the range 1 to 50.



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';

Possible Values
Default date ASC
date

The review submisson date.

rating

The review rating.



« Back