Re-add removed line.

This commit is contained in:
claudiulodro 2017-06-29 11:43:30 -07:00
parent 62800a68f9
commit 0db60b56c9
1 changed files with 2 additions and 0 deletions

View File

@ -233,6 +233,8 @@ class WC_Structured_Data {
}
}
$markup['offers'] = array( apply_filters( 'woocommerce_structured_data_product_offer', $markup_offer, $product ) );
if ( $product->get_rating_count() ) {
$markup['aggregateRating'] = array(
'@type' => 'AggregateRating',