Function __global->get_shipping_address_fields
Definitions
sources/ecommerce_shipping.php
- Get form fields for a shipping/invoice address.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$shipping_email | required parameter | N/A | N/A | E-mail address | |
$shipping_phone | string | required parameter | N/A | N/A | Phone number |
$shipping_firstname | string | required parameter | N/A | N/A | First name |
$shipping_lastname | string | required parameter | N/A | N/A | Last name |
$shipping_street_address | string | required parameter | N/A | N/A | Street address |
$shipping_city | string | required parameter | N/A | N/A | Town/City |
$shipping_county | string | required parameter | N/A | N/A | County |
$shipping_state | string | required parameter | N/A | N/A | State |
$shipping_post_code | string | required parameter | N/A | N/A | Postcode/Zip |
$shipping_country | string | required parameter | N/A | N/A | Country |
$require_all_details | boolean | True | N/A | N/A | Whether to require all details to be input |
Return
- A pair: Address fields, Address hidden fields
- Type: array
- Set: N/A
- Range: N/A