product_review_new.html


Purpose: This template controls the Pop-Up Page that displays when customers add a new review.

Code Blocks

Note: It is important to preserve the commented tags to ensure the software performs correctly.

  
 [reviews_add]
        [name]
    <!--START: newReviewForm-->
        [catalogid]
      <!--START: nameTxt-->
        [custName]
      <!--END: nameTxt-->
      <!--START: nameHdn-->
        [custName]
      <!--END: nameHdn-->
      <!--START: emailTxt-->
        [custEmail]
      <!--END: emailTxt-->
      <!--START: emailHdn-->
        [custEmail]
      <!--END: emailHdn-->
      <!--START: captcha-->
      <!--END: captcha-->
      <!--START: validateNameEmail-->
      <!--END: validateNameEmail-->
      <!--START: captchascript-->
      <!--END: captchascript-->
    <!--END: newReviewForm-->
    <!--START: newReviewThankyou-->
        [reviewCreatedMsg]
    <!--END: newReviewThankyou-->
    <!--START: errorMsg-->
        [errorMsg]
    <!--END: errorMsg-->

Note: Code blocks and their respective variables will only work with specific template pages.

Variables

Note: Some of these variables are used in multiple places on the page, with their dynamic content controlled by the code block used in each instance.

  • [reviews_add] – Displays the Title of the “Add Review” heading on the Pop-up page. (See Settings ->Design ->Store Language)
  • [name] – Inserts the Product’s name for which the Review is being left.
  • [catalogid] – Used by the Software to reference the Product’s Database ID.
  • [custName] – This variable references the Customer’s Name information. (Note: If customer is logged in to their account, the Name will be inserted.)
  • [custEmail] – This variable references the Customer’s Email information. (Note: If customer is logged in to their account, the Email will be inserted.)
  • [errorMsg] – If the Review Submission results in an error message (incorrect word, duplicate review, etc) this variable will insert the message.
X