Modular Merchant
QuickCode™ Glossary
QuickCode Tag Glossary Home
See also:
Knowledge Base
Articles in this category:




































{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-AUTHOR} gave this product a score of <b>{REVIEW-AVERAGE-RANK}</b>.<br />
<i>Score details:</i><br />

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.
  Copyright © 2001 - 2024 Modular Merchant™. All rights reserved.
Modular Merchant | Privacy Policy | Legal Statement | Terms of Service | Contact Us | Site Map