Product Schema issue
-
I was trying to implement all recommended Product schema data, using diffferent approaches, but failed.
I have a problem with ‘offercount’ ; ‘brand’ and ‘sku’.
I used your recommended solution ‘a hook’ but found 2 issues with it:
1). offercount would not work at all (google does not recognize it)
2). brand and sku would apply to all products (I want to have unique brand and sku for each product presented on my website).Hook that I used:
add_filter( ‘site-reviews/schema/Product’, function( $schema ) {
$schema[‘sku’] = ‘2317’;
$schema[‘brand’] = ‘Net Credit’;
$schema[‘offercount’] = ‘1’;
return $schema;});
So I tried a diffferent approach and used custom fields on a chosen product page, but again faced an issue >> it would not be recognized in Google Schema Test.
Custom fields I used (name/value):
schema_offercount / 1
schema_brand / Net Credit
schema_sku / 2317How can I make it so that all these markups are added to my product page and get validated? (Also keeping in mind that these values would be different for each product page, not universal like the hook method does).
Thank you and best regards,
The page I need help with: [log in to see the link]
- The topic ‘Product Schema issue’ is closed to new replies.