Merge pull request #23774 from connorhu/patch-1
fixed availability schema protocol
This commit is contained in:
commit
3cc3565e61
|
@ -256,7 +256,7 @@ class WC_Structured_Data {
|
|||
|
||||
$markup_offer += array(
|
||||
'priceCurrency' => $currency,
|
||||
'availability' => 'https://schema.org/' . ( $product->is_in_stock() ? 'InStock' : 'OutOfStock' ),
|
||||
'availability' => 'http://schema.org/' . ( $product->is_in_stock() ? 'InStock' : 'OutOfStock' ),
|
||||
'url' => $permalink,
|
||||
'seller' => array(
|
||||
'@type' => 'Organization',
|
||||
|
|
Loading…
Reference in New Issue