Snippets
Created by
Musilek Vladislav
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 | array(1) {
[0]=> array(62) {
["id"]=> int(40)
["name"]=> string(14) "Ship Your Idea"
["slug"]=> string(16) "ship-your-idea-2"
["permalink"]=> string(57) "http://demo.toret.cz/zasilkovna/produkt/ship-your-idea-2/"
["date_created"]=> string(19) "2013-06-07T11:00:28"
["date_modified"]=> string(19) "2016-12-03T05:47:50"
["type"]=> string(8) "variable"
["status"]=> string(7) "publish"
["featured"]=> bool(false)
["catalog_visibility"]=> string(7) "visible"
["description"]=> string(286) "
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
"
["short_description"]=> string(286) "
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
"
["sku"]=> string(4) "2016"
["price"]=> string(2) "30"
["regular_price"]=> string(0) ""
["sale_price"]=> string(0) ""
["date_on_sale_from"]=> string(0) ""
["date_on_sale_to"]=> string(0) ""
["price_html"]=> string(449) "35Kč 30Kč–35Kč"
["on_sale"]=> bool(true)
["purchasable"]=> bool(true)
["total_sales"]=> int(0)
["virtual"]=> bool(false)
["downloadable"]=> bool(false)
["downloads"]=> array(0) { }
["download_limit"]=> int(-1)
["download_expiry"]=> int(-1)
["download_type"]=> string(8) "standard"
["external_url"]=> string(0) ""
["button_text"]=> string(0) ""
["tax_status"]=> string(7) "taxable"
["tax_class"]=> string(0) ""
["manage_stock"]=> bool(true)
["stock_quantity"]=> int(20)
["in_stock"]=> bool(true)
["backorders"]=> string(2) "no"
["backorders_allowed"]=> bool(false)
["backordered"]=> bool(false)
["sold_individually"]=> bool(false)
["weight"]=> string(0) ""
["dimensions"]=> array(3) {
["length"]=> string(0) ""
["width"]=> string(0) ""
["height"]=> string(0) ""
}
["shipping_required"]=> bool(true)
["shipping_taxable"]=> bool(true)
["shipping_class"]=> string(0) ""
["shipping_class_id"]=> int(0)
["reviews_allowed"]=> bool(true)
["average_rating"]=> string(4) "4.00"
["rating_count"]=> int(3)
["related_ids"]=> array(5) {
[0]=> int(50)
[1]=> int(53)
[2]=> int(60)
[3]=> int(56)
[4]=> int(22)
}
["upsell_ids"]=> array(0) { }
["cross_sell_ids"]=> array(1) { [0]=> int(22) }
["parent_id"]=> int(0)
["purchase_note"]=> string(0) ""
["categories"]=> array(2) {
[0]=> array(3) { ["id"]=> int(10) ["name"]=> string(8) "Clothing" ["slug"]=> string(8) "clothing" }
[1]=> array(3) { ["id"]=> int(11) ["name"]=> string(7) "Hoodies" ["slug"]=> string(7) "hoodies" }
}
["tags"]=> array(0) { }
["images"]=> array(4) {
[0]=> array(7) {
["id"]=> int(43)
["date_created"]=> string(19) "2013-06-07T10:59:40"
["date_modified"]=> string(19) "2013-06-07T10:59:40"
["src"]=> string(86) "http://demo.toret.cz/zasilkovna/wp-content/uploads/sites/15/2013/06/hoodie_7_front.jpg"
["name"]=> string(14) "hoodie_7_front"
["alt"]=> string(0) ""
["position"]=> int(0)
}
[1]=> array(7) {
["id"]=> int(44)
["date_created"]=> string(19) "2013-06-07T10:59:54"
["date_modified"]=> string(19) "2013-06-07T10:59:54"
["src"]=> string(85) "http://demo.toret.cz/zasilkovna/wp-content/uploads/sites/15/2013/06/hoodie_7_back.jpg"
["name"]=> string(13) "hoodie_7_back"
["alt"]=> string(0) ""
["position"]=> int(1)
}
[2]=> array(7) {
["id"]=> int(45)
["date_created"]=> string(19) "2013-06-07T11:00:00"
["date_modified"]=> string(19) "2013-06-07T11:00:00"
["src"]=> string(85) "http://demo.toret.cz/zasilkovna/wp-content/uploads/sites/15/2013/06/hoodie_1_back.jpg"
["name"]=> string(13) "hoodie_1_back"
["alt"]=> string(0) ""
["position"]=> int(2)
}
[3]=> array(7) {
["id"]=> int(46)
["date_created"]=> string(19) "2013-06-07T11:00:01"
["date_modified"]=> string(19) "2013-06-07T11:00:01"
["src"]=> string(86) "http://demo.toret.cz/zasilkovna/wp-content/uploads/sites/15/2013/06/hoodie_1_front.jpg"
["name"]=> string(14) "hoodie_1_front" ["alt"]=> string(0) ""
["position"]=> int(3)
}
}
["attributes"]=> array(1) {
[0]=> array(6) {
["id"]=> int(1)
["name"]=> string(5) "color"
["position"]=> int(0)
["visible"]=> bool(false)
["variation"]=> bool(true)
["options"]=> array(2) {
[0]=> string(5) "Black"
[1]=> string(4) "Blue"
}
}
}
["default_attributes"]=> array(1) {
[0]=> array(3) {
["id"]=> int(1)
["name"]=> string(5) "color"
["option"]=> string(5) "black"
}
}
["variations"]=> array(6) {
[0]=> array(32) {
["id"]=> int(41)
["date_created"]=> string(19) "2013-06-07T10:59:15"
["date_modified"]=> string(19) "2016-12-01T19:12:08"
["permalink"]=> string(82) "http://demo.toret.cz/zasilkovna/produkt/ship-your-idea-2/?attribute_pa_color=black"
["sku"]=> string(4) "3333"
["price"]=> string(2) "35"
["regular_price"]=> string(2) "35"
["sale_price"]=> string(0) ""
["date_on_sale_from"]=> string(0) ""
["date_on_sale_to"]=> string(0) ""
["on_sale"]=> bool(false)
["purchasable"]=> bool(true)
["visible"]=> bool(true)
["virtual"]=> bool(false)
["downloadable"]=> bool(false)
["downloads"]=> array(0) { }
["download_limit"]=> int(-1)
["download_expiry"]=> int(-1)
["tax_status"]=> string(7) "taxable"
["tax_class"]=> string(0) ""
["manage_stock"]=> bool(true)
["stock_quantity"]=> int(1)
["in_stock"]=> bool(true)
["backorders"]=> string(3) "yes"
["backorders_allowed"]=> bool(true)
["backordered"]=> bool(false)
["weight"]=> string(0) ""
["dimensions"]=> array(3) {
["length"]=> string(0) ""
["width"]=> string(0) ""
["height"]=> string(0) ""
}
["shipping_class"]=> string(0) ""
["shipping_class_id"]=> int(0)
["image"]=> array(1) {
[0]=> array(7) { ["id"]=> int(43) ["date_created"]=> string(19) "2013-06-07T10:59:40" ["date_modified"]=> string(19) "2013-06-07T10:59:40" ["src"]=> string(86) "http://demo.toret.cz/zasilkovna/wp-content/uploads/sites/15/2013/06/hoodie_7_front.jpg" ["name"]=> string(14) "hoodie_7_front" ["alt"]=> string(0) "" ["position"]=> int(0) }
}
["attributes"]=> array(1) {
[0]=> array(3) {
["id"]=> int(1)
["name"]=> string(5) "color"
["option"]=> string(5) "Black"
}
}
} [1]=> array(32) {
["id"]=> int(197) ["date_created"]=> string(19) "2016-12-03T05:43:58" ["date_modified"]=> string(19) "2016-12-03T05:43:58" ["permalink"]=> string(57) "http://demo.toret.cz/zasilkovna/produkt/ship-your-idea-2/" ["sku"]=> string(4) "2016" ["price"]=> string(0) "" ["regular_price"]=> string(0) "" ["sale_price"]=> string(0) "" ["date_on_sale_from"]=> string(0) "" ["date_on_sale_to"]=> string(0) "" ["on_sale"]=> bool(false) ["purchasable"]=> bool(false) ["visible"]=> bool(true) ["virtual"]=> bool(false) ["downloadable"]=> bool(false) ["downloads"]=> array(0) { } ["download_limit"]=> int(-1) ["download_expiry"]=> int(-1) ["tax_status"]=> string(7) "taxable" ["tax_class"]=> string(0) "" ["manage_stock"]=> bool(true) ["stock_quantity"]=> int(6) ["in_stock"]=> bool(true) ["backorders"]=> string(2) "no" ["backorders_allowed"]=> bool(false) ["backordered"]=> bool(false) ["weight"]=> string(0) "" ["dimensions"]=> array(3) { ["length"]=> string(0) "" ["width"]=> string(0) "" ["height"]=> string(0) "" } ["shipping_class"]=> string(0) "" ["shipping_class_id"]=> int(0) ["image"]=> array(1) { [0]=> array(7) { ["id"]=> int(43) ["date_created"]=> string(19) "2013-06-07T10:59:40" ["date_modified"]=> string(19) "2013-06-07T10:59:40" ["src"]=> string(86) "http://demo.toret.cz/zasilkovna/wp-content/uploads/sites/15/2013/06/hoodie_7_front.jpg" ["name"]=> string(14) "hoodie_7_front" ["alt"]=> string(0) "" ["position"]=> int(0) } } ["attributes"]=> array(0) { }
} [2]=> array(32) { ["id"]=> int(199) ["date_created"]=> string(19) "2016-12-03T05:47:50" ["date_modified"]=> string(19) "2016-12-03T05:47:50" ["permalink"]=> string(57) "http://demo.toret.cz/zasilkovna/produkt/ship-your-idea-2/" ["sku"]=> string(4) "2016" ["price"]=> string(0) "" ["regular_price"]=> string(0) "" ["sale_price"]=> string(0) "" ["date_on_sale_from"]=> string(0) "" ["date_on_sale_to"]=> string(0) "" ["on_sale"]=> bool(false) ["purchasable"]=> bool(false) ["visible"]=> bool(true) ["virtual"]=> bool(false) ["downloadable"]=> bool(false) ["downloads"]=> array(0) { } ["download_limit"]=> int(-1) ["download_expiry"]=> int(-1) ["tax_status"]=> string(7) "taxable" ["tax_class"]=> string(0) "" ["manage_stock"]=> bool(true) ["stock_quantity"]=> int(6) ["in_stock"]=> bool(true) ["backorders"]=> string(2) "no" ["backorders_allowed"]=> bool(false) ["backordered"]=> bool(false) ["weight"]=> string(0) "" ["dimensions"]=> array(3) { ["length"]=> string(0) "" ["width"]=> string(0) "" ["height"]=> string(0) "" } ["shipping_class"]=> string(0) "" ["shipping_class_id"]=> int(0) ["image"]=> array(1) { [0]=> array(7) { ["id"]=> int(43) ["date_created"]=> string(19) "2013-06-07T10:59:40" ["date_modified"]=> string(19) "2013-06-07T10:59:40" ["src"]=> string(86) "http://demo.toret.cz/zasilkovna/wp-content/uploads/sites/15/2013/06/hoodie_7_front.jpg" ["name"]=> string(14) "hoodie_7_front" ["alt"]=> string(0) "" ["position"]=> int(0) } } ["attributes"]=> array(0) { }
} [3]=> array(32) { ["id"]=> int(42) ["date_created"]=> string(19) "2013-06-07T10:59:15" ["date_modified"]=> string(19) "2016-12-01T19:12:08" ["permalink"]=> string(81) "http://demo.toret.cz/zasilkovna/produkt/ship-your-idea-2/?attribute_pa_color=blue" ["sku"]=> string(4) "3334" ["price"]=> string(2) "30" ["regular_price"]=> string(2) "35" ["sale_price"]=> string(2) "30" ["date_on_sale_from"]=> string(0) "" ["date_on_sale_to"]=> string(0) "" ["on_sale"]=> bool(true) ["purchasable"]=> bool(true) ["visible"]=> bool(true) ["virtual"]=> bool(false) ["downloadable"]=> bool(false) ["downloads"]=> array(0) { } ["download_limit"]=> int(-1) ["download_expiry"]=> int(-1) ["tax_status"]=> string(7) "taxable" ["tax_class"]=> string(0) "" ["manage_stock"]=> bool(true) ["stock_quantity"]=> int(0) ["in_stock"]=> bool(false) ["backorders"]=> string(2) "no" ["backorders_allowed"]=> bool(false) ["backordered"]=> bool(false) ["weight"]=> string(0) "" ["dimensions"]=> array(3) { ["length"]=> string(0) "" ["width"]=> string(0) "" ["height"]=> string(0) "" } ["shipping_class"]=> string(0) "" ["shipping_class_id"]=> int(0) ["image"]=> array(1) { [0]=> array(7) { ["id"]=> int(46) ["date_created"]=> string(19) "2013-06-07T11:00:01" ["date_modified"]=> string(19) "2013-06-07T11:00:01" ["src"]=> string(86) "http://demo.toret.cz/zasilkovna/wp-content/uploads/sites/15/2013/06/hoodie_1_front.jpg" ["name"]=> string(14) "hoodie_1_front" ["alt"]=> string(0) "" ["position"]=> int(0) } } ["attributes"]=> array(1) { [0]=> array(3) { ["id"]=> int(1) ["name"]=> string(5) "color" ["option"]=> string(4) "Blue" } }
} [4]=> array(32) { ["id"]=> int(198) ["date_created"]=> string(19) "2016-12-03T05:43:58" ["date_modified"]=> string(19) "2016-12-03T05:43:58" ["permalink"]=> string(57) "http://demo.toret.cz/zasilkovna/produkt/ship-your-idea-2/" ["sku"]=> string(4) "2016" ["price"]=> string(0) "" ["regular_price"]=> string(0) "" ["sale_price"]=> string(0) "" ["date_on_sale_from"]=> string(0) "" ["date_on_sale_to"]=> string(0) "" ["on_sale"]=> bool(false) ["purchasable"]=> bool(false) ["visible"]=> bool(true) ["virtual"]=> bool(false) ["downloadable"]=> bool(false) ["downloads"]=> array(0) { } ["download_limit"]=> int(-1) ["download_expiry"]=> int(-1) ["tax_status"]=> string(7) "taxable" ["tax_class"]=> string(0) "" ["manage_stock"]=> bool(true) ["stock_quantity"]=> int(6) ["in_stock"]=> bool(true) ["backorders"]=> string(2) "no" ["backorders_allowed"]=> bool(false) ["backordered"]=> bool(false) ["weight"]=> string(0) "" ["dimensions"]=> array(3) { ["length"]=> string(0) "" ["width"]=> string(0) "" ["height"]=> string(0) "" } ["shipping_class"]=> string(0) "" ["shipping_class_id"]=> int(0) ["image"]=> array(1) { [0]=> array(7) { ["id"]=> int(43) ["date_created"]=> string(19) "2013-06-07T10:59:40" ["date_modified"]=> string(19) "2013-06-07T10:59:40" ["src"]=> string(86) "http://demo.toret.cz/zasilkovna/wp-content/uploads/sites/15/2013/06/hoodie_7_front.jpg" ["name"]=> string(14) "hoodie_7_front" ["alt"]=> string(0) "" ["position"]=> int(0) } } ["attributes"]=> array(0) { }
} [5]=> array(32) { ["id"]=> int(200) ["date_created"]=> string(19) "2016-12-03T05:47:50" ["date_modified"]=> string(19) "2016-12-03T05:47:50" ["permalink"]=> string(57) "http://demo.toret.cz/zasilkovna/produkt/ship-your-idea-2/" ["sku"]=> string(4) "2016" ["price"]=> string(0) "" ["regular_price"]=> string(0) "" ["sale_price"]=> string(0) "" ["date_on_sale_from"]=> string(0) "" ["date_on_sale_to"]=> string(0) "" ["on_sale"]=> bool(false) ["purchasable"]=> bool(false) ["visible"]=> bool(true) ["virtual"]=> bool(false) ["downloadable"]=> bool(false) ["downloads"]=> array(0) { } ["download_limit"]=> int(-1) ["download_expiry"]=> int(-1) ["tax_status"]=> string(7) "taxable" ["tax_class"]=> string(0) "" ["manage_stock"]=> bool(true) ["stock_quantity"]=> int(6) ["in_stock"]=> bool(true) ["backorders"]=> string(2) "no" ["backorders_allowed"]=> bool(false) ["backordered"]=> bool(false) ["weight"]=> string(0) "" ["dimensions"]=> array(3) { ["length"]=> string(0) "" ["width"]=> string(0) "" ["height"]=> string(0) "" } ["shipping_class"]=> string(0) "" ["shipping_class_id"]=> int(0) ["image"]=> array(1) { [0]=> array(7) { ["id"]=> int(43) ["date_created"]=> string(19) "2013-06-07T10:59:40" ["date_modified"]=> string(19) "2013-06-07T10:59:40" ["src"]=> string(86) "http://demo.toret.cz/zasilkovna/wp-content/uploads/sites/15/2013/06/hoodie_7_front.jpg" ["name"]=> string(14) "hoodie_7_front" ["alt"]=> string(0) "" ["position"]=> int(0) } } ["attributes"]=> array(0) { } } } ["grouped_products"]=> array(0) { } ["menu_order"]=> int(0) ["_links"]=> array(2) { ["self"]=> array(1) { [0]=> array(1) { ["href"]=> string(57) "http://demo.toret.cz/zasilkovna/wp-json/wc/v1/products/40" } } ["collection"]=> array(1) { [0]=> array(1) { ["href"]=> string(54) "http://demo.toret.cz/zasilkovna/wp-json/wc/v1/products" } } } }
}
|
Comments (0)
You can clone a snippet to your computer for local editing. Learn more.