diff --git a/includes/class-wc-structured-data.php b/includes/class-wc-structured-data.php index ab00dfaa348..40e64b17b58 100644 --- a/includes/class-wc-structured-data.php +++ b/includes/class-wc-structured-data.php @@ -200,6 +200,7 @@ class WC_Structured_Data { '@type' => 'Product', '@id' => $permalink . '#product', // Append '#product' to differentiate between this @id and the @id generated for the Breadcrumblist. 'name' => $product->get_name(), + 'url' => $permalink, 'image' => wp_get_attachment_url( $product->get_image_id() ), 'description' => wp_strip_all_tags( do_shortcode( $product->get_short_description() ? $product->get_short_description() : $product->get_description() ) ), );