Modular Merchant
QuickCode™ Glossary
{IF-USING-PRODUCT-REVIEWS-END}
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 > {IF-USING-PRODUCT-REVIEWS-END}
<< {IF-USING-PRODUCT-REVIEWS-BEGIN} {NUMBER-OF-REVIEWS} >>
{IF-USING-PRODUCT-REVIEWS-END} Updated: 06/24/2013

The {IF-USING-PRODUCT-REVIEWS-END} QuickCode Tag may be used with the {IF-USING-PRODUCT-REVIEWS-BEGIN} QuickCode Tag to create a block of content that will only be shown if the store's Product Reviews Module is enabled. To enable the store's Product Reviews Module, in the store's admin area at [Modules > Product Reviews > Product Review Module Settings], set the Use the Product Reviews module? option to YES.

Requirements / Prerequisites

The {IF-USING-PRODUCT-REVIEWS-END} QuickCode Tag must be used with the {IF-USING-PRODUCT-REVIEWS-BEGIN} QuickCode Tag.

{IF-USING-PRODUCT-REVIEWS-BEGIN} and {IF-USING-PRODUCT-REVIEWS-END} are compatible with all of the store's HTML templates, but will be most useful in the template for the product page (product.tpl), because almost all of the other QuickCode Tags related to product reviews are only compatible with the product page.

Content between {IF-USING-PRODUCT-REVIEWS-BEGIN} and {IF-USING-PRODUCT-REVIEWS-END} will be shown if the store's Product Reviews Module is enabled, and will be hidden if the store's Product Reviews Module is disabled.

The {ELSE} QuickCode Tag may be inserted between {IF-USING-PRODUCT-REVIEWS-BEGIN} and {IF-USING-PRODUCT-REVIEWS-END}. If so, content between {IF-USING-PRODUCT-REVIEWS-BEGIN} and {ELSE} will be shown if the store's Product Reviews Module is enabled; any alternate content between {ELSE} and {IF-USING-PRODUCT-REVIEWS-END} will be shown if the store's Product Reviews Module is disabled.

Example of Use

1. Add the following to any of the store's HTML templates:

Example
Hello, and welcome to my store!
{IF-USING-PRODUCT-REVIEWS-BEGIN}
Interested in learning about other customers' opinions of our products? With product reviews, you can read real feedback from real people, before you buy!
{ELSE}
Product reviews are not allowed at this time.
{IF-USING-PRODUCT-REVIEWS-END}
Thanks for shopping!


2. If the store's Product Review Module is enabled, the corresponding storefront page will display the following:

Example
Hello, and welcome to my store!
Interested in learning about other customers' opinions of our products? With product reviews, you can read real feedback from real people, before you buy!
Thanks for shopping!


3. If the store's Product Review Module is disabled, the corresponding storefront page will display the following:

Example
Hello, and welcome to my store!
Product reviews are not allowed at this time.
Thanks for shopping!

Source Code Source Code Updated:
When a web page using a template that contains this QuickCode Tag is viewed in the storefront, the {IF-USING-PRODUCT-REVIEWS-END} 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