Woocommerce single product page schema
-
When on a Woocommerce product page, the HTML body “itemtype” attribute shows
https://schema.org/Blog
. Shouldn’t it sayhttps://schema.org/Product
?This is handled by the
astra_schema_body()
function, which I know applies aastra_schema_body_itemtype
filter but I’m thinking it should be handled automatically, perhaps by adding something like this:$itemtype = (is_product()) ? 'Product' : $itemtype;
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Woocommerce single product page schema’ is closed to new replies.