shop:on_evalShippingRate AJAX handler
Defined in |
/modules/shop/classes/shop_actions.php, lines 593-615 |
Author |
LemonStand eCommerce Inc. |
Field |
Type |
Description |
country |
integer |
specifies a country identifier. |
state |
integer |
specifies a state identifier. |
zip |
string |
specifies the ZIP/postal code. |
is_business |
boolean |
determines whether the shipping location is a business address. Optional. |
Supported form field details
¶
country form field
¶
state form field
Specifies a state identifier.
¶
zip form field
Specifies the ZIP/postal code.
¶
is_business form field
Determines whether the shipping location is a business address. Optional.
Accepted values are 0, 1.
Generated PHP variable details
¶
shipping_options variable
array $shipping_options;
A list of shipping options.
Each element in the array is an object of the Shop_ShippingOption class.
¶
shipping_options_flat variable
array $shipping_options_flat;
A flat list of shipping options.
In the flat list all options, including options returned by multi-option shipping methods, like FedEx, are presented in a single list.
Each element in the array is an object of the Shop_ShippingOption class.
|