UPC and BRAND Product Schema Issues

Hello!  I have a couple of issues.

#1 How do I incorporate the UPC into the offer of a product?

#2 “Brand” isnt working in global snippet.  I watched a video tutorial you made and it doesn’t have the same interface as shown.  The dropdown menu doesn’t have the option in field for “brand” and it also doesn’t display “woocommerce attribute” as an option since the field value doesn’t have a dropdown for brand.

#3 please take a look at the following product in rich snippet.  You will notice that the product variable for “size” isn’t being recognized to display both offers with both prices.  How do I fix this?

https://ecosmeticsstg.wpengine.com/product/fresh-foaming-cleanser-2-2/
 

7 thoughts on “UPC and BRAND Product Schema Issues

  1. Hey there,
    to #1: Google offers a few fields that are supported, including mpn, isbn, etc. Check it out: https://developers.google.com/search/docs/data-types/product#global-id

    #2: To fill the “brand” property you first need to choose the Brand sub-schema. Then select “name” as the sub-property of Brand. It’s shown in this video beginning with minute 8:57.

    #3: I don’t get this one. Maybe you can share your export that shows exactly how you integrated the size property.

    Hope that helps 😉

    Flo

  2. Hi Florian!

    Thank you for the response.

    #1 I have implemented gtin8 gtin12 gtin13 gtin14 as instructed in documentation. None of them display UPC

    #2 I have done exactly what was instructed in the video. However brand does not display.

    #3 I fixed this issue.

    Thank you for helping me on these 2 remaining issues.

  3. You’re very welcome! 😉

    To #1: What do you mean with UPC in general? Do you have any official information about it? I can only tell you what Google published on their reference guide.

    To #2: Can you share the export of the Global Snippet that you’ve built?

    Greetings

  4. {
        "id": "snip-product-woocommerce",
        "context": "http://schema.org",
        "type": "Product",
        "sku-prop-5a90e4c190ec5": {
            "0": "woocommerce_sku",
            "1": null,
            "overridable": false,
            "overridable_multiple": false
        },
        "gtin8-prop-5a90e4c1bc50c": {
            "0": "textfield_woocommerce_product_attribute",
            "1": "gtin8",
            "overridable": true,
            "overridable_multiple": false
        },
        "image-prop-5a90e4c1cf2ec": {
            "0": "http://schema.org/ImageObject",
            "1": {
                "id": "snip-5f3a4ae6e52c0",
                "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": "http://schema.org/Offer",
            "1": {
                "id": "snip-5f7509fe4030b",
                "context": "http://schema.org",
                "type": "Offer",
                "priceCurrency-prop-5f7509fe41fa2": {
                    "0": "woocommerce_currency_code",
                    "1": null,
                    "overridable": false,
                    "overridable_multiple": false
                },
                "category-prop-5f7509fe41fd2": {
                    "0": "current_category",
                    "1": null,
                    "overridable": false,
                    "overridable_multiple": false
                },
                "url-prop-5f7509fe42173": {
                    "0": "current_post_url",
                    "1": null,
                    "overridable": false,
                    "overridable_multiple": false
                },
                "price-prop-5f7509fe42498": {
                    "0": "woocommerce_sales_price",
                    "1": null,
                    "overridable": false,
                    "overridable_multiple": false
                },
                "priceValidUntil-prop-5f750a4344693": {
                    "0": "woocommerce_sales_end_date",
                    "1": null,
                    "overridable": false,
                    "overridable_multiple": false
                },
                "sku-prop-5f750a56b2b98": {
                    "0": "woocommerce_sku",
                    "1": null,
                    "overridable": false,
                    "overridable_multiple": false
                },
                "loop": "variable_products"
            },
            "overridable": true,
            "overridable_multiple": false
        },
        "gtin14-prop-5a90e4c23b1a4": {
            "0": "textfield_woocommerce_product_attribute",
            "1": "gtin14",
            "overridable": true,
            "overridable_multiple": false
        },
        "gtin13-prop-5a90e4c261b5e": {
            "0": "textfield_woocommerce_product_attribute",
            "1": "gtin13",
            "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-5f3a4ae6e53ae",
                "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
        },
        "gtin12-prop-5c0f9ac960039": {
            "0": "textfield_woocommerce_product_attribute",
            "1": "gtin12",
            "overridable": false,
            "overridable_multiple": false
        },
        "mainEntityOfPage-prop-5f3b743653ca5": {
            "0": "http://schema.org/WebPage",
            "1": {
                "id": "snip-5f3b743d040fe",
                "context": "http://schema.org",
                "type": "WebPage",
                "@id-prop-5f3b7442f06b8": {
                    "0": "textfield",
                    "1": "#webpage",
                    "overridable": false,
                    "overridable_multiple": false
                }
            },
            "overridable": false,
            "overridable_multiple": false
        },
        "_is_export": true,
        "@ruleset": [
            [
                {
                    "param": "post_type",
                    "operator": "==",
                    "value": "product"
                }
            ]
        ]
    }
  5. Alright. So it might be that the “perfect brands” extension does not use product attributes for storing thair data. Get in touch with the authors from that extension and ask where they store this data. If they store it in the postmeta table you maybe need to use “Post Meta” field type instead.

    If you still have a product attribute “brands” it should work. However make sure you’ve spelled it correctly. In your last comment you wrote that it’s named “brands”. But in your schema you’ve used “brand”.

Leave a Reply Cancel reply