From afbb17013b816b4d39652850712a780727a2cea5 Mon Sep 17 00:00:00 2001 From: Stephen Cameron Date: Thu, 19 Sep 2019 13:59:03 +0200 Subject: [PATCH] Make product URL absolute. #2952 @0:05 --- resources/views/partials/product-schema.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/partials/product-schema.blade.php b/resources/views/partials/product-schema.blade.php index 28abd62..4b4282a 100644 --- a/resources/views/partials/product-schema.blade.php +++ b/resources/views/partials/product-schema.blade.php @@ -11,6 +11,6 @@ "mpn": "{{ $product->get('supplier_reference') }}", "description": "{{ preg_replace("/\r|\n/", " ", $product->get('descriptions')) }}", "image": "{{ url($product->getEntity()->image) }}", - "url": "{{ $product->getEntity()->URL }}" + "url": "{{ url('/') . '/' . $product->getEntity()->URL }}" } -- 2.39.5