special_offers.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 special_offers.vm

Name

Type

Formal Syntax

Form Data?

Required on Post?

Comments/Sample Usage

afterHtml

string

$form.afterHtml

 

 

 

beforeHtml

string

$form.beforeHtml

 

 

 

customerChoiceSku

string

$form.customerChoiceSku

 

 

 

customerChoices

Option[]

$form.customerChoices

 

 

 

diagnostics

string[]

$form.diagnostics

 

 

 

errors

Error[]

$form.errors

 

 

 

infoMessages

string[]

$form.infoMessages

 

 

 

limit

integer

$form.limit

 

 

 

merchantId

string

$form.merchantId

 

 

 

merchantItemUpsellOid

integer

$form.merchantItemUpsellOid

 

 

 

multipleSelectionDetails

string

$form.multipleSelectionDetails

 

 

 

no

string

$form.no

 

 

 

options

java.util.Collection (class com.bpsinfo.ultracart.checkout.ui.SpecialOffers2Form$OptionEntry)

$form.options

 

 

 

quantity

integer

$form.quantity

 

 

 

redirectUrl

string

$form.redirectUrl

 

 

 

token

string

$form.token

 

 

 

yes

string

$form.yes

 

 

 

 

Template Specific Value Objects

 SpecialOffersOption

Field

Type

Comment/Sample

label

string

 

name

string

 

value

string

 

values

string[]

 

 

Flow