Reply To: WooCommerce Variable product clarification

#4090
lordhenry
Participant

Thank you for the assistance.

This URL should product a sku https://www.1800doorbell.com/rustic-iron-star-wired-doorbell-push-button.htm?attribute_pa_choose-a-finish=rust of PB3036-AZ, but in the schema it shows PB3036 so I know I’ve done something wrong. Here’s a shot from the validator

https://dl.dropboxusercontent.com/s/snmfogemri2dplk/shot_220428_074454.png

Here’s my schema

{
    "id": "snip-global-product-woo",
    "context": "http://schema.org",
    "type": "Product",
    "sku-prop-5a90e4c190ec5": {
        "0": "woocommerce_sku",
        "1": null,
        "overridable": false,
        "overridable_multiple": false
    },
    "mpn-prop-5a90e4c1a707e": {
        "0": "textfield_woocommerce_product_attribute",
        "1": "mpn",
        "overridable": true,
        "overridable_multiple": false
    },
    "image-prop-5a90e4c1cf2ec": {
        "0": "http://schema.org/ImageObject",
        "1": {
            "id": "snip-5a97cc0643099",
            "context": "http://schema.org",
            "type": "ImageObject",
            "height-prop-5a97cc064cf42": {
                "0": "current_post_thumbnail_height",
                "1": null,
                "overridable": false,
                "overridable_multiple": false
            },
            "width-prop-5a97cc065a42e": {
                "0": "current_post_thumbnail_width",
                "1": null,
                "overridable": false,
                "overridable_multiple": false
            },
            "url-prop-5a97cc066871e": {
                "0": "current_post_thumbnail_url",
                "1": null,
                "overridable": false,
                "overridable_multiple": false
            }
        },
        "overridable": false,
        "overridable_multiple": false
    },
    "name-prop-5a90e4c1e3c44": {
        "0": "current_post_title",
        "1": null,
        "overridable": false,
        "overridable_multiple": false
    },
    "aggregateRating-prop-5a90e4c20773c": {
        "0": "woocommerce_review_rating",
        "1": null,
        "overridable": false,
        "overridable_multiple": false
    },
    "offers-prop-5a90e4c21d251": {
        "0": "woocommerce_offers",
        "1": null,
        "overridable": false,
        "overridable_multiple": false
    },
    "gtin13-prop-5a90e4c261b5e": {
        "0": "textfield_meta",
        "1": "hwp_product_gtin",
        "overridable": true,
        "overridable_multiple": false
    },
    "description-prop-5a90e4c297536": {
        "0": "current_post_excerpt",
        "1": null,
        "overridable": false,
        "overridable_multiple": false
    },
    "brand-prop-5a90e4c2b5e88": {
        "0": "http://schema.org/Brand",
        "1": {
            "id": "snip-5a97cc562cbb3",
            "context": "http://schema.org",
            "type": "Brand",
            "name-prop-5a97cc563c122": {
                "0": "textfield_woocommerce_product_attribute",
                "1": "brand",
                "overridable": true,
                "overridable_multiple": false
            }
        },
        "overridable": true,
        "overridable_multiple": false
    },
    "_is_export": true,
    "@ruleset": [
        [
            {
                "param": "post_type",
                "operator": "==",
                "value": "product"
            }
        ]
    ]
}