@delpha
To add breadcrumb to a product in schema.org, you need to include the necessary schema markup within the HTML structure of your product page. Here's how you can do it:
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 |
<head> <!-- Include the necessary schema.org library --> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [ { "@type": "ListItem", "position": 1, "name": "Home", "item": "https://example.com" }, { "@type": "ListItem", "position": 2, "name": "Category", "item": "https://example.com/category" }, { "@type": "ListItem", "position": 3, "name": "Subcategory", "item": "https://example.com/category/subcategory" }, { "@type": "ListItem", "position": 4, "name": "Product", "item": "https://example.com/category/subcategory/product" } ] } </script> </head> <body> <!-- Your product page content goes here --> </body> |
In this example, you need to replace the example URLs with the appropriate URLs for your website's pages.
By following these steps, you can add breadcrumb schema markup to your product page and improve its visibility and user experience.