Modular Merchant
QuickCode™ Glossary
{REVIEW-CRITERIA-RANK}
QuickCode Tag Glossary Home
See also:
Knowledge Base
Articles in this category:
{FIELD-REVIEW-CRITERIA-MENU}

{FIELD-REVIEW-CRITERIA}

{FIELD-REVIEW-DETAILS}

{FIELD-REVIEW-SORT}

{IF-CUSTOMER-HAS-VOTED-ON-REVIEW-BEGIN}

{IF-CUSTOMER-HAS-VOTED-ON-REVIEW-END}

{IF-REVIEW-CRITERIA-BEGIN}

{IF-REVIEW-CRITERIA-END}

{IF-REVIEWER-AUTHORIZED-BEGIN}

{IF-REVIEWER-AUTHORIZED-END}

{IF-REVIEWS-BEGIN}

{IF-REVIEWS-END}

{IF-USING-PRODUCT-REVIEWS-BEGIN}

{IF-USING-PRODUCT-REVIEWS-END}

{NUMBER-OF-REVIEWS}

{REVIEW-AUTHOR}

{REVIEW-AVERAGE-RANK}

{REVIEW-BLOCK-BEGIN}

{REVIEW-BLOCK-END}

{REVIEW-COMPOSITE-RANK}

{REVIEW-CREATE-DATE}

{REVIEW-CRITERIA-BLOCK-BEGIN}

{REVIEW-CRITERIA-BLOCK-END}

{REVIEW-CRITERIA-DESCRIPTION}

{REVIEW-CRITERIA-NAME}

{REVIEW-CRITERIA-RANK}

{REVIEW-CRITERIA-SID}

{REVIEW-DETAIL}

{REVIEW-SID}

{REVIEW-SUMMARY}

{REVIEW-TOGGLE-DISPLAY-TAG}

{REVIEW-VOTES-HELPFUL}

{REVIEW-VOTES-TOTAL}

{REVIEW-VOTES-UNHELPFUL}

{URL-REVIEW-VOTE-IS-HELPFUL}

{URL-REVIEW-VOTE-IS-UNHELPFUL}

Reviews > {REVIEW-CRITERIA-RANK}
<< {REVIEW-CRITERIA-NAME} {REVIEW-CRITERIA-SID} >>
{REVIEW-CRITERIA-RANK} Updated: 11/26/2012

This QuickCode Tag is used to display the value assigned to a specific criteria, within a specific product review.

In order to enable review criteria, a store admin must first create one or more criteria group, and apply the criteria to one or more products. The options to add a criteria group are located in the store's admin area at [Modules > Product Reviews > Add a Ranking Criteria Group].

Once a criteria group has been created and applied to a product, reviewers will be able to assign rating between 1 and 5 for each criteria, as part of the product review.

Requirements / Prerequisites

The {REVIEW-CRITERIA-RANK} QuickCode Tag is compatible with the product detail page template, including product.template.php, upsell.template.php, and downsell.template.php.

The {REVIEW-CRITERIA-RANK} QuickCode Tag should be used between the {REVIEW-CRITERIA-BLOCK-BEGIN} and {REVIEW-CRITERIA-BLOCK-END} QuickCode Tags, which should in turn be used between the {REVIEW-BLOCK-BEGIN} and {REVIEW-BLOCK-END} QuickCode Tags.

The review criteria block might also optionally be enclosed between the {IF-REVIEW-CRITERIA-BEGIN} and {IF-REVIEW-CRITERIA-END} QuickCode Tags.

Example of Use

The product template might contain the following code:

{REVIEW-BLOCK-BEGIN}
{IF-REVIEW-CRITERIA-BEGIN}
 {REVIEW-AUTHOR} gave this product a score of <b>{REVIEW-AVERAGE-RANK}</b>.<br />
<i>Score details:</i><br />
{REVIEW-CRITERIA-BLOCK-BEGIN}
{REVIEW-CRITERIA-RANK} for {REVIEW-CRITERIA-NAME} ({REVIEW-CRITERIA-DESCRIPTION})<br />
{REVIEW-CRITERIA-BLOCK-END}
{IF-REVIEW-CRITERIA-END}
{REVIEW-BLOCK-END}


If the store admin has created the review criteria Quality and Value, and a reviewer John Doe selected the rank 5 for both criteria when reviewing a product, the product's detail page might display the following:

John D. gave this product a score of 5.00.
Score details:
5 for Quality
5 for Value

Source Code Source Code Updated:
When a web page using a template that contains this QuickCode Tag is viewed in the storefront, the {REVIEW-CRITERIA-RANK} QuickCode Tag is changed into the source code below prior to the web page being displayed.
LOG IN TO ADD COMMENTS
  Copyright © 2001 - 2024 Modular Merchant™. All rights reserved.
Modular Merchant | Privacy Policy | Legal Statement | Terms of Service | Contact Us | Site Map