Laravel.io
array(3) {
["flat_rate"]=>
object(WC_Shipping_Flat_Rate)#9636 (23) {
["fee_cost":protected]=>
string(0) ""
["supports"]=>
array(3) {
[0]=>
string(14) "shipping-zones"
[1]=>
string(17) "instance-settings"
[2]=>
string(23) "instance-settings-modal"
}
["id"]=>
string(9) "flat_rate"
["method_title"]=>
string(9) "Flat rate"
["method_description"]=>
string(42) "Lets you charge a fixed rate for shipping."
["enabled"]=>
string(3) "yes"
["title"]=>
string(0) ""
["rates"]=>
array(0) {
}
["tax_status"]=>
string(0) ""
["fee"]=>
NULL
["minimum_fee"]=>
NULL
["instance_id"]=>
int(0)
["instance_form_fields"]=>
array(3) {
["title"]=>
array(5) {
["title"]=>
string(12) "Method title"
["type"]=>
string(4) "text"
["description"]=>
string(60) "This controls the title which the user sees during checkout."
["default"]=>
string(9) "Flat rate"
["desc_tip"]=>
bool(true)
}
["tax_status"]=>
array(5) {
["title"]=>
string(10) "Tax status"
["type"]=>
string(6) "select"
["class"]=>
string(18) "wc-enhanced-select"
["default"]=>
string(7) "taxable"
["options"]=>
array(2) {
["taxable"]=>
string(7) "Taxable"
["none"]=>
string(4) "None"
}
}
["cost"]=>
array(7) {
["title"]=>
string(4) "Cost"
["type"]=>
string(4) "text"
["placeholder"]=>
string(0) ""
["description"]=>
string(263) "Enter a cost (excl. tax) or sum, e.g. <code>10.00 * [qty]</code>.<br/><br/>Use <code>[qty]</code> for the number of items, <br/><code>[cost]</code> for the total cost of items, and <code>[fee percent="10" min_fee="20" max_fee=""]</code> for percentage based fees."
["default"]=>
string(1) "0"
["desc_tip"]=>
bool(true)
["sanitize_callback"]=>
array(2) {
[0]=>
*RECURSION*
[1]=>
string(13) "sanitize_cost"
}
}
}
["instance_settings"]=>
array(0) {
}
["availability"]=>
NULL
["countries"]=>
array(0) {
}
["plugin_id"]=>
string(12) "woocommerce_"
["errors"]=>
array(0) {
}
["settings"]=>
array(4) {
["title"]=>
string(0) ""
["tax_status"]=>
string(0) ""
["cost"]=>
string(0) ""
["type"]=>
string(5) "class"
}
["form_fields"]=>
array(0) {
}
["data":protected]=>
array(0) {
}
["cost"]=>
string(0) ""
["type"]=>
string(5) "class"
}
["free_shipping"]=>
object(WC_Shipping_Free_Shipping)#9637 (22) {
["min_amount"]=>
int(0)
["requires"]=>
string(0) ""
["supports"]=>
array(3) {
[0]=>
string(14) "shipping-zones"
[1]=>
string(17) "instance-settings"
[2]=>
string(23) "instance-settings-modal"
}
["id"]=>
string(13) "free_shipping"
["method_title"]=>
string(13) "Free shipping"
["method_description"]=>
string(89) "Free shipping is a special method which can be triggered with coupons and minimum spends."
["enabled"]=>
string(3) "yes"
["title"]=>
string(0) ""
["rates"]=>
array(0) {
}
["tax_status"]=>
string(7) "taxable"
["fee"]=>
NULL
["minimum_fee"]=>
NULL
["instance_id"]=>
int(0)
["instance_form_fields"]=>
array(3) {
["title"]=>
array(5) {
["title"]=>
string(5) "Title"
["type"]=>
string(4) "text"
["description"]=>
string(60) "This controls the title which the user sees during checkout."
["default"]=>
string(13) "Free shipping"
["desc_tip"]=>
bool(true)
}
["requires"]=>
array(5) {
["title"]=>
string(25) "Free shipping requires..."
["type"]=>
string(6) "select"
["class"]=>
string(18) "wc-enhanced-select"
["default"]=>
string(0) ""
["options"]=>
array(5) {
[""]=>
string(3) "N/A"
["coupon"]=>
string(28) "A valid free shipping coupon"
["min_amount"]=>
string(22) "A minimum order amount"
["either"]=>
string(34) "A minimum order amount OR a coupon"
["both"]=>
string(35) "A minimum order amount AND a coupon"
}
}
["min_amount"]=>
array(6) {
["title"]=>
string(20) "Minimum order amount"
["type"]=>
string(5) "price"
["placeholder"]=>
string(1) "0"
["description"]=>
string(77) "Users will need to spend this amount to get free shipping (if enabled above)."
["default"]=>
string(1) "0"
["desc_tip"]=>
bool(true)
}
}
["instance_settings"]=>
array(0) {
}
["availability"]=>
NULL
["countries"]=>
array(0) {
}
["plugin_id"]=>
string(12) "woocommerce_"
["errors"]=>
array(0) {
}
["settings"]=>
array(3) {
["title"]=>
string(0) ""
["min_amount"]=>
int(0)
["requires"]=>
string(0) ""
}
["form_fields"]=>
array(0) {
}
["data":protected]=>
array(0) {
}
}
["local_pickup"]=>
object(WC_Shipping_Local_Pickup)#9638 (21) {
["supports"]=>
array(3) {
[0]=>
string(14) "shipping-zones"
[1]=>
string(17) "instance-settings"
[2]=>
string(23) "instance-settings-modal"
}
["id"]=>
string(12) "local_pickup"
["method_title"]=>
string(12) "Local pickup"
["method_description"]=>
string(141) "Allow customers to pick up orders themselves. By default, when using local pickup store base taxes will apply regardless of customer address."
["enabled"]=>
string(3) "yes"
["title"]=>
string(0) ""
["rates"]=>
array(0) {
}
["tax_status"]=>
string(0) ""
["fee"]=>
NULL
["minimum_fee"]=>
NULL
["instance_id"]=>
int(0)
["instance_form_fields"]=>
array(3) {
["title"]=>
array(5) {
["title"]=>
string(5) "Title"
["type"]=>
string(4) "text"
["description"]=>
string(60) "This controls the title which the user sees during checkout."
["default"]=>
string(12) "Local pickup"
["desc_tip"]=>
bool(true)
}
["tax_status"]=>
array(5) {
["title"]=>
string(10) "Tax status"
["type"]=>
string(6) "select"
["class"]=>
string(18) "wc-enhanced-select"
["default"]=>
string(7) "taxable"
["options"]=>
array(2) {
["taxable"]=>
string(7) "Taxable"
["none"]=>
string(4) "None"
}
}
["cost"]=>
array(6) {
["title"]=>
string(4) "Cost"
["type"]=>
string(4) "text"
["placeholder"]=>
string(1) "0"
["description"]=>
string(31) "Optional cost for local pickup."
["default"]=>
string(0) ""
["desc_tip"]=>
bool(true)
}
}
["instance_settings"]=>
array(0) {
}
["availability"]=>
NULL
["countries"]=>
array(0) {
}
["plugin_id"]=>
string(12) "woocommerce_"
["errors"]=>
array(0) {
}
["settings"]=>
array(3) {
["title"]=>
string(0) ""
["tax_status"]=>
string(0) ""
["cost"]=>
string(0) ""
}
["form_fields"]=>
array(0) {
}
["data":protected]=>
array(0) {
}
["cost"]=>
string(0) ""
}
}