Skip to main content
Reference

single.vm

info

Transcluded from Screen Interface Intro.

$form variables for template single.vm

NameTypeFormal SyntaxForm Data?Required on Post?Comments/Sample Usage
above3rdPartyCheckoutstring$form.above3rdPartyCheckout
aboveCartHtmlstring$form.aboveCartHtml
aboveOuterTablestring$form.aboveOuterTable
abovePaymentInformationHtmlstring$form.abovePaymentInformationHtml
aboveShippingBillingAddressHtmlstring$form.aboveShippingBillingAddressHtml
addXmlstring$form.addXml
advertisingSourcestring$form.advertisingSource
advertisingSourceOtherstring$form.advertisingSourceOther
advertisingSourcesstring[ ]$form.advertisingSources
affiliateIdstring$form.affiliateId
amazonButtonUrlstring$form.amazonButtonUrl
amazonCheckoutstring$form.amazonCheckout
amazonMerchantIdstring$form.amazonMerchantId
amazonOrderReferenceIdstring$form.amazonOrderReferenceId
amazonWidgetUrlstring$form.amazonWidgetUrl
applyAffiliateIdstring$form.applyAffiliateId
applyCouponCodestring$form.applyCouponCode
below3rdPartyCheckoutstring$form.below3rdPartyCheckout
belowCartHtmlstring$form.belowCartHtml
belowOuterTablestring$form.belowOuterTable
belowPaymentInformationHtmlstring$form.belowPaymentInformationHtml
belowShippingBillingAddressHtmlstring$form.belowShippingBillingAddressHtml
billingAddress1string$form.billingAddress1
billingAddress2string$form.billingAddress2
billingCitystring$form.billingCity
billingCompanystring$form.billingCompany
billingCountrystring$form.billingCountry
billingEveningPhonestring$form.billingEveningPhone
billingFirstNamestring$form.billingFirstName
billingLastNamestring$form.billingLastName
billingStatestring$form.billingState
billingTitlestring$form.billingTitle
billingZipstring$form.billingZip
buysafeBondChangestring$form.buysafeBondChange
buysafeBondCost[BigDecimal](../storefront-object-model/bigdecimal-sfo.md)$form.buysafeBondCost
buysafeBondCostStrstring$form.buysafeBondCostStr
buysafeBondingSignalstring$form.buysafeBondingSignal
buysafeCartDisplayTextstring$form.buysafeCartDisplayText
buysafeCartDisplayUrlstring$form.buysafeCartDisplayUrl
buysafeHtmlstring$form.buysafeHtml
buysafeRolloverScriptUrlstring$form.buysafeRolloverScriptUrl
ccEmailstring$form.ccEmail
changeCurrencyCodestring$form.changeCurrencyCode
checkoutTermsstring$form.checkoutTerms
checkoutTermsAgreementAgreement$form.checkoutTermsAgreement
checkoutWithPayPalstring$form.checkoutWithPayPal
checkoutWithPayPalBmlstring$form.checkoutWithPayPalBml
commentsstring$form.comments
continueShoppingstring$form.continueShopping
countriesstring[ ]$form.countries
couponCodestring$form.couponCode
couponInputFieldStrstring$form.couponInputFieldStr
couponPluralStrstring$form.couponPluralStr
couponSingularStrstring$form.couponSingularStr
coupons[Coupon](../storefront-object-model/coupon-sfo.md)[ ]$form.coupons
creditCardExpMonthstring$form.creditCardExpMonth
creditCardExpMonths[Option](../storefront-object-model/option-sfo.md)[ ]$form.creditCardExpMonths
creditCardExpYearstring$form.creditCardExpYear
creditCardExpYears[Option](../storefront-object-model/option-sfo.md)[ ]$form.creditCardExpYears
creditCardNumberstring$form.creditCardNumber
creditCardTokenstring$form.creditCardToken
creditCardTypestring$form.creditCardType
creditCardTypes[Option](../storefront-object-model/option-sfo.md)[ ]$form.creditCardTypes
creditCardVerificationNumberstring$form.creditCardVerificationNumber
currencyCodestring$form.currencyCode
currencySuffixstring$form.currencySuffix
currencySymbolstring$form.currencySymbol
customField1string$form.customField1
customField2string$form.customField2
customField3string$form.customField3
customField4string$form.customField4
customField5string$form.customField5
customField6string$form.customField6
customField7string$form.customField7
emailstring$form.email
emailConfirmstring$form.emailConfirm
errors[Error](../storefront-object-model/error-sfo.md)[ ]$form.errors
finalizeOrderstring$form.finalizeOrder
formattedBuysafeBondCoststring$form.formattedBuysafeBondCost
gatewayTokenizationScriptsstring$form.gatewayTokenizationScripts
hostLinkstring$form.hostLink
infoMessagesstring[ ]$form.infoMessages
isoCodestring$form.isoCode
items[CartItem](../storefront-object-model/cartitem-sfo.md)[ ]$form.items
returnPolicystring$form.returnPolicy
returnPolicyAgreementAgreement$form.returnPolicyAgreement
returnPolicyDescriptionstring$form.returnPolicyDescription
returnPolicyHeaderstring$form.returnPolicyHeader
shipping[BigDecimal](../storefront-object-model/bigdecimal-sfo.md)$form.shipping
shippingAddress1string$form.shippingAddress1
shippingAddress2string$form.shippingAddress2
shippingCitystring$form.shippingCity
shippingCompanystring$form.shippingCompany
shippingCountrystring$form.shippingCountry
shippingFirstNamestring$form.shippingFirstName
shippingLastNamestring$form.shippingLastName
shippingMethodstring$form.shippingMethod
shippingMethods[ShippingMethod](../storefront-object-model/shippingmethod-sfo.md)[ ]$form.shippingMethods
shippingPhonestring$form.shippingPhone
shippingStatestring$form.shippingState
shippingTitlestring$form.shippingTitle
shippingUrlstring$form.shippingUrl
shippingZipstring$form.shippingZip
stateOptionalCountriesJsonstring$form.stateOptionalCountriesJson
storedCardExpstring$form.storedCardExp
storedCardMaskedNumberstring$form.storedCardMaskedNumber
subtotal[BigDecimal](../storefront-object-model/bigdecimal-sfo.md)$form.subtotal
subtotalBeforeDiscount[BigDecimal](../storefront-object-model/bigdecimal-sfo.md)$form.subtotalBeforeDiscount
subtotalDiscount[BigDecimal](../storefront-object-model/bigdecimal-sfo.md)$form.subtotalDiscount
tax[BigDecimal](../storefront-object-model/bigdecimal-sfo.md)$form.tax
total[BigDecimal](../storefront-object-model/bigdecimal-sfo.md)$form.total
updateQuantitystring$form.updateQuantity

$form methods for template single.vm

MethodSignatureComments/Sample
getItemIdsAsJsonstring $form.getItemIdsAsJson()returns a json array of item ids. very useful if you need the cart item ids in a javascript array.

Flow

flow_single.vm.png

Was this page helpful?