apperal example

test
 avatar
unknown
json
3 years ago
4.2 kB
7
Indexable
{
    "success": true,
    "data": {
        "is_product": true,
        "is_category": false,
        "out_of_stock": false,
        "entity_id": 27414,
        "child_id": 25451,
        "buy_now": false,
        "sku": "test-conf",
        "setup_fee": null,
        "min_qty": 0,
        "tierprices": {
            "column_name": null,
            "items": []
        },
        "personalization": {
            "enabled": false,
            "required": false,
            "min_qty": null,
            "button_text": null,
            "text": null
        },
        "engraving": null,
        "non_personalizable": null,
        "paypal": {
            "enabled": false
        },
        "product_certifications_multi": null,
        "super_attributes": {       // to jest dodane, w kontekscie produktu configurowalnego, zeby wiedziec jakie sa glowne atrybuty wariantu
            "92": "Color",
            "379": "Size"
        },
        "variations": [
            {
                "entity_id": "25451",
                "name": "AVA T Shirt Purple XL",
                "price": "10.00",
                "image_thumbnail": "/i/m/image_13__7.png",
                "image_gallery": [
                    "/i/m/image_13__7.png"
                ],
                "super_attributes": {           // to tez dodane, kwestia czy lepiej nie zrobic struktury gdzie pogrupujemy np wzgledem koloru
                    "92": {
                        "1191": "light purple"
                    },
                    "379": {
                        "1185": "XL"
                    }
                }
            },
            {
                "entity_id": "25494",
                "name": "AVA T Shirt Gray Small",
                "price": "10.00",
                "image_thumbnail": "/i/m/image_16_1__5.png",
                "image_gallery": [
                    "/i/m/image_16_1__5.png"
                ],
                "super_attributes": {
                    "92": {
                        "1189": "gray"
                    },
                    "379": {
                        "1188": "Small"
                    }
                }
            },
            {
                "entity_id": "25495",
                "name": "AVA T Shirt Gray Medium",
                "price": "10.00",
                "image_thumbnail": "/i/m/image_16_1__4.png",
                "image_gallery": [
                    "/i/m/image_16_1__4.png"
                ],
                "super_attributes": {
                    "92": {
                        "1189": "gray"
                    },
                    "379": {
                        "1187": "Medium"
                    }
                }
            },
            {
                "entity_id": "25496",
                "name": "AVA T Shirt Gray Large",
                "price": "10.00",
                "image_thumbnail": "/i/m/image_16_1__3.png",
                "image_gallery": [
                    "/i/m/image_16_1__3.png"
                ],
                "super_attributes": {
                    "92": {
                        "1189": "gray"
                    },
                    "379": {
                        "1186": "Large"
                    }
                }
            }
        ],
        "breadcrumb": [
            {
                "name": "Home",
                "value": "/"
            },
            {
                "name": "test-conf",
                "value": "/test-conf.html"
            }
        ],
        "attributes": {
            "design_artwork": null,
            "samples": null,
            "greeting_massage": null,
            "shipping_processing": null
        },
        "name": "test-conf",
        "egift": {
            "enabled": false
        },
        "media_gallery": {
            "images": null,
            "video": null
        },
        "samples": {
            "enabled": false,
            "price": 0
        },
        "shipping": {
            "price": null,
            "restricted_states": null,
            "is_international": "0",
            "is_us_only": false
        },
        "fake_product_description": null,
        "fake_product_title": null,
        "description": "test"
    }
}
Editor is loading...