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




































{FIELD-REVIEW-CRITERIA} Updated: 11/26/2012

This QuickCode Tag is used to select a value for a specific criteria when writing a 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 a rating between 1 and 5 for each criteria, as part of the product review.

Requirements / Prerequisites

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

The {FIELD-REVIEW-CRITERIA} QuickCode Tag should be used between the  {REVIEW-CRITERIA-BLOCK-BEGIN} and {REVIEW-CRITERIA-BLOCK-END} QuickCode Tags and located within the review form, which should in turn be used between the {IF-REVIEWER-AUTHORIZED-BEGIN} and {IF-REVIEWER-AUTHORIZED-END} QuickCode Tags, inside of the {IF-USING-PRODUCT-REVIEWS-BEGIN} and {IF-USING-PRODUCT-REVIEWS-END} block.

Example of Use

The product template might contain the following code:

    Write a Review of {PRODUCT-NAME}
        <form action="{THIS-PAGE}" method="post" name="sample_review_form">
            Rank this product on the following criteria:
        <input name="submit_review" type="submit" value="Submit Review" class="SUBMIT-BUTTON" /></p>

If the review criteria Quality and Value have been created and assigned to the product named New Product, the New Product detail page might display:

Source Code Source Code Updated:
When a web page using a template that contains this QuickCode Tag is viewed in the storefront, the {FIELD-REVIEW-CRITERIA} 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