Merge pull request #23774 from connorhu/patch-1

fixed availability schema protocol
This commit is contained in:
Claudio Sanches 2019-05-22 18:07:05 -03:00 committed by GitHub
commit 3cc3565e61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ class WC_Structured_Data {
$markup_offer += array( $markup_offer += array(
'priceCurrency' => $currency, 'priceCurrency' => $currency,
'availability' => 'https://schema.org/' . ( $product->is_in_stock() ? 'InStock' : 'OutOfStock' ), 'availability' => 'http://schema.org/' . ( $product->is_in_stock() ? 'InStock' : 'OutOfStock' ),
'url' => $permalink, 'url' => $permalink,
'seller' => array( 'seller' => array(
'@type' => 'Organization', '@type' => 'Organization',