review_item.vm

In addition to other standard variables like $cart, StoreFront system screens (display and post form data, such as checkout screens) have a $form variable that contains fields and data specific to that screen.  

Listed below are the form fields specific to this screen template.

$form variables for template review_item.vm

Name

Type

Formal Syntax

Form Data?

Required on Post?

Comments/Sample Usage

catalogUrl

string

$form.catalogUrl

 

 

 

company

string

$form.company

 

 

 

description

string

$form.description

 

 

 

errors

Error[]

$form.errors

 

 

 

extendedDescription

string

$form.extendedDescription

 

 

 

imageUrl

string

$form.imageUrl

 

 

 

infoMessages

string[]

$form.infoMessages

 

 

 

itemId

string

$form.itemId

 

 

 

location

string

$form.location

 

 

 

merchantId

string

$form.merchantId

 

 

 

nickname

string

$form.nickname

 

 

 

questions

ReviewFormQuestion[] (see below)

$form.questions

 

 

 

ratingScaleMax

integer

$form.ratingScaleMax

 

 

 

ratings

ReviewFormRating[] (see below)

$form.ratings

 

 

 

recommendStoreToFriend

string

$form.recommendStoreToFriend

 

 

 

recommendToFriend

string

$form.recommendToFriend

 

 

 

review

string

$form.review

 

 

 

scores

string[]

$form.scores

 

 

 

storeFeedback

string

$form.storeFeedback

 

 

 

storeFrontItem

Item

$form.storeFrontItem

 

 

 

termsAndConditions

string

$form.termsAndConditions

 

 

 

title

string

$form.title

 

 

 

Template Specific Value Objects

ReviewFormQuestion

Field

Type

Comment/Sample

answer

string

 

cols

integer

 

format

string

 

maxLength

integer

 

options

string[]

 

question

string

 

rows

integer

 

size

integer

 


ReviewFormRating

Field

Type

Comment/Sample

name

string

 

score

string

 

 Flow