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

Name

Type

Formal Syntax

Form Data?

Required on Post?

Comments/Sample Usage

address1

string

$form.address1

 

 

 

address2

string

$form.address2

 

 

 

cartShippingCost

string

$form.cartShippingCost

 

 

 

cartTax

string

$form.cartTax

 

 

 

city

string

$form.city

 

 

 

country

string

$form.country

 

 

 

errors

Error[ ]

$form.errors

 

 

 

estimates

ShippingEstimate[ ]

$form.estimates

 

 

 

infoMessages

string[ ]

$form.infoMessages

 

 

 

selectedShippingMethod

string

$form.selectedShippingMethod

 

 

 

state

string

$form.state

 

 

 

zip

string

$form.zip

 

 

 

 

Flow