Created
June 25, 2015 14:17
-
-
Save kilbot/acdbe9fe9a858ebeae15 to your computer and use it in GitHub Desktop.
WC Variable product
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "product": { | |
| "title": "Ship Your Idea", | |
| "id": 22, | |
| "created_at": "2013-06-07T10:46:01Z", | |
| "updated_at": "2015-06-25T06:48:13Z", | |
| "type": "variable", | |
| "status": "publish", | |
| "downloadable": false, | |
| "virtual": false, | |
| "sku": "", | |
| "price": "20.00", | |
| "regular_price": "0.00", | |
| "sale_price": null, | |
| "price_html": "<span class=\"amount\">£20.00<\/span>", | |
| "taxable": false, | |
| "tax_status": "taxable", | |
| "tax_class": "", | |
| "managing_stock": false, | |
| "stock_quantity": "", | |
| "in_stock": true, | |
| "backorders_allowed": false, | |
| "backordered": false, | |
| "sold_individually": false, | |
| "purchaseable": true, | |
| "featured": false, | |
| "visible": true, | |
| "on_sale": false, | |
| "shipping_required": true, | |
| "shipping_taxable": true, | |
| "shipping_class": "", | |
| "shipping_class_id": null, | |
| "parent_id": 0, | |
| "categories": ["Clothing", "T-shirts"], | |
| "featured_src": "http:\/\/woopos.dev\/wp-content\/uploads\/2013\/06\/T_4_front2-180x180.jpg", | |
| "attributes": [{ | |
| "name": "Pr\u00f8duct Attribute Color", | |
| "slug": "color", | |
| "position": "0", | |
| "visible": false, | |
| "variation": true, | |
| "options": ["Black", "Green"] | |
| }, { | |
| "name": "Piped Color", | |
| "slug": "Piped Color", | |
| "position": "1", | |
| "visible": true, | |
| "variation": true, | |
| "options": ["Black", "Blue"] | |
| }, { | |
| "name": "S\u00eez\u00e9", | |
| "slug": "S\u00eez\u00e9", | |
| "position": "2", | |
| "visible": true, | |
| "variation": true, | |
| "options": ["Sm\u00f8l", "Medium", "Xtr\u00e4 Larg\u00e9"] | |
| }], | |
| "purchase_note": "", | |
| "total_sales": 0, | |
| "variations": [{ | |
| "id": 23, | |
| "created_at": "2013-06-07T10:46:01Z", | |
| "updated_at": "2015-06-25T06:48:13Z", | |
| "downloadable": false, | |
| "virtual": false, | |
| "sku": "", | |
| "price": "20.00", | |
| "regular_price": "20.00", | |
| "sale_price": null, | |
| "taxable": false, | |
| "tax_status": "taxable", | |
| "tax_class": "", | |
| "managing_stock": false, | |
| "stock_quantity": "", | |
| "in_stock": true, | |
| "backordered": false, | |
| "purchaseable": true, | |
| "visible": true, | |
| "on_sale": false, | |
| "shipping_class": "", | |
| "shipping_class_id": null, | |
| "attributes": [{ | |
| "name": "Pr\u00f8duct Attribute Color", | |
| "slug": "color", | |
| "option": "black" | |
| }, { | |
| "name": "Piped Color", | |
| "slug": "piped-color", | |
| "option": "black" | |
| }, { | |
| "name": "Size", | |
| "slug": "size", | |
| "option": "smol" | |
| }], | |
| "featured_src": "http:\/\/woopos.dev\/wp-content\/uploads\/2013\/06\/T_4_front11-180x180.jpg", | |
| "barcode": "" | |
| }, { | |
| "id": 108, | |
| "created_at": "2013-06-07T10:46:01Z", | |
| "updated_at": "2015-06-25T06:48:13Z", | |
| "downloadable": false, | |
| "virtual": false, | |
| "sku": "", | |
| "price": "0.00", | |
| "regular_price": "0.00", | |
| "sale_price": null, | |
| "taxable": false, | |
| "tax_status": "taxable", | |
| "tax_class": "", | |
| "managing_stock": false, | |
| "stock_quantity": "", | |
| "in_stock": true, | |
| "backordered": false, | |
| "purchaseable": false, | |
| "visible": false, | |
| "on_sale": false, | |
| "shipping_class": "", | |
| "shipping_class_id": null, | |
| "attributes": [{ | |
| "name": "Pr\u00f8duct Attribute Color", | |
| "slug": "color", | |
| "option": "black" | |
| }, { | |
| "name": "Piped Color", | |
| "slug": "piped-color", | |
| "option": "blue" | |
| }, { | |
| "name": "Size", | |
| "slug": "size", | |
| "option": "smol" | |
| }], | |
| "featured_src": "http:\/\/woopos.dev\/wp-content\/plugins\/woocommerce\/assets\/images\/placeholder.png", | |
| "barcode": "" | |
| }, { | |
| "id": 109, | |
| "created_at": "2013-06-07T10:46:01Z", | |
| "updated_at": "2015-06-25T06:48:13Z", | |
| "downloadable": false, | |
| "virtual": false, | |
| "sku": "", | |
| "price": "0.00", | |
| "regular_price": "0.00", | |
| "sale_price": null, | |
| "taxable": false, | |
| "tax_status": "taxable", | |
| "tax_class": "", | |
| "managing_stock": false, | |
| "stock_quantity": "", | |
| "in_stock": true, | |
| "backordered": false, | |
| "purchaseable": false, | |
| "visible": false, | |
| "on_sale": false, | |
| "shipping_class": "", | |
| "shipping_class_id": null, | |
| "attributes": [{ | |
| "name": "Pr\u00f8duct Attribute Color", | |
| "slug": "color", | |
| "option": "green" | |
| }, { | |
| "name": "Piped Color", | |
| "slug": "piped-color", | |
| "option": "blue" | |
| }, { | |
| "name": "Size", | |
| "slug": "size", | |
| "option": "smol" | |
| }], | |
| "featured_src": "http:\/\/woopos.dev\/wp-content\/plugins\/woocommerce\/assets\/images\/placeholder.png", | |
| "barcode": "" | |
| }, { | |
| "id": 111, | |
| "created_at": "2013-06-07T10:46:01Z", | |
| "updated_at": "2015-06-25T06:48:13Z", | |
| "downloadable": false, | |
| "virtual": false, | |
| "sku": "", | |
| "price": "0.00", | |
| "regular_price": "0.00", | |
| "sale_price": null, | |
| "taxable": false, | |
| "tax_status": "taxable", | |
| "tax_class": "", | |
| "managing_stock": false, | |
| "stock_quantity": "", | |
| "in_stock": true, | |
| "backordered": false, | |
| "purchaseable": false, | |
| "visible": false, | |
| "on_sale": false, | |
| "shipping_class": "", | |
| "shipping_class_id": null, | |
| "attributes": [{ | |
| "name": "Pr\u00f8duct Attribute Color", | |
| "slug": "color", | |
| "option": "black" | |
| }, { | |
| "name": "Piped Color", | |
| "slug": "piped-color", | |
| "option": "black" | |
| }, { | |
| "name": "Size", | |
| "slug": "size", | |
| "option": "xtra-large" | |
| }], | |
| "featured_src": "http:\/\/woopos.dev\/wp-content\/plugins\/woocommerce\/assets\/images\/placeholder.png", | |
| "barcode": "" | |
| }, { | |
| "id": 113, | |
| "created_at": "2013-06-07T10:46:01Z", | |
| "updated_at": "2015-06-25T06:48:13Z", | |
| "downloadable": false, | |
| "virtual": false, | |
| "sku": "", | |
| "price": "0.00", | |
| "regular_price": "0.00", | |
| "sale_price": null, | |
| "taxable": false, | |
| "tax_status": "taxable", | |
| "tax_class": "", | |
| "managing_stock": false, | |
| "stock_quantity": "", | |
| "in_stock": true, | |
| "backordered": false, | |
| "purchaseable": false, | |
| "visible": false, | |
| "on_sale": false, | |
| "shipping_class": "", | |
| "shipping_class_id": null, | |
| "attributes": [{ | |
| "name": "Pr\u00f8duct Attribute Color", | |
| "slug": "color", | |
| "option": "green" | |
| }, { | |
| "name": "Piped Color", | |
| "slug": "piped-color", | |
| "option": "black" | |
| }, { | |
| "name": "Size", | |
| "slug": "size", | |
| "option": "xtra-large" | |
| }], | |
| "featured_src": "http:\/\/woopos.dev\/wp-content\/plugins\/woocommerce\/assets\/images\/placeholder.png", | |
| "barcode": "" | |
| }, { | |
| "id": 115, | |
| "created_at": "2013-06-07T10:46:01Z", | |
| "updated_at": "2015-06-25T06:48:13Z", | |
| "downloadable": false, | |
| "virtual": false, | |
| "sku": "", | |
| "price": "0.00", | |
| "regular_price": "0.00", | |
| "sale_price": null, | |
| "taxable": false, | |
| "tax_status": "taxable", | |
| "tax_class": "", | |
| "managing_stock": false, | |
| "stock_quantity": "", | |
| "in_stock": true, | |
| "backordered": false, | |
| "purchaseable": false, | |
| "visible": false, | |
| "on_sale": false, | |
| "shipping_class": "", | |
| "shipping_class_id": null, | |
| "attributes": [{ | |
| "name": "Pr\u00f8duct Attribute Color", | |
| "slug": "color", | |
| "option": "black" | |
| }, { | |
| "name": "Piped Color", | |
| "slug": "piped-color", | |
| "option": "blue" | |
| }, { | |
| "name": "Size", | |
| "slug": "size", | |
| "option": "xtra-large" | |
| }], | |
| "featured_src": "http:\/\/woopos.dev\/wp-content\/plugins\/woocommerce\/assets\/images\/placeholder.png", | |
| "barcode": "" | |
| }, { | |
| "id": 117, | |
| "created_at": "2013-06-07T10:46:01Z", | |
| "updated_at": "2015-06-25T06:48:13Z", | |
| "downloadable": false, | |
| "virtual": false, | |
| "sku": "", | |
| "price": "0.00", | |
| "regular_price": "0.00", | |
| "sale_price": null, | |
| "taxable": false, | |
| "tax_status": "taxable", | |
| "tax_class": "", | |
| "managing_stock": false, | |
| "stock_quantity": "", | |
| "in_stock": true, | |
| "backordered": false, | |
| "purchaseable": false, | |
| "visible": false, | |
| "on_sale": false, | |
| "shipping_class": "", | |
| "shipping_class_id": null, | |
| "attributes": [{ | |
| "name": "Pr\u00f8duct Attribute Color", | |
| "slug": "color", | |
| "option": "green" | |
| }, { | |
| "name": "Piped Color", | |
| "slug": "piped-color", | |
| "option": "blue" | |
| }, { | |
| "name": "Size", | |
| "slug": "size", | |
| "option": "xtra-large" | |
| }], | |
| "featured_src": "http:\/\/woopos.dev\/wp-content\/plugins\/woocommerce\/assets\/images\/placeholder.png", | |
| "barcode": "" | |
| }, { | |
| "id": 24, | |
| "created_at": "2013-06-07T10:46:01Z", | |
| "updated_at": "2015-06-25T06:48:13Z", | |
| "downloadable": false, | |
| "virtual": false, | |
| "sku": "", | |
| "price": "20.00", | |
| "regular_price": "20.00", | |
| "sale_price": null, | |
| "taxable": false, | |
| "tax_status": "taxable", | |
| "tax_class": "", | |
| "managing_stock": false, | |
| "stock_quantity": "", | |
| "in_stock": true, | |
| "backordered": false, | |
| "purchaseable": true, | |
| "visible": true, | |
| "on_sale": false, | |
| "shipping_class": "", | |
| "shipping_class_id": null, | |
| "attributes": [{ | |
| "name": "Pr\u00f8duct Attribute Color", | |
| "slug": "color", | |
| "option": "green" | |
| }, { | |
| "name": "Piped Color", | |
| "slug": "piped-color", | |
| "option": "black" | |
| }, { | |
| "name": "Size", | |
| "slug": "size", | |
| "option": "smol" | |
| }], | |
| "featured_src": "http:\/\/woopos.dev\/wp-content\/uploads\/2013\/06\/T_3_front1-180x180.jpg", | |
| "barcode": "" | |
| }], | |
| "barcode": "" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment