From 859351aa5748d2fb26ec0c5707684dd10f6b652f Mon Sep 17 00:00:00 2001 From: "Stefan-Calin Crainiciuc (stcc)" Date: Mon, 1 Aug 2022 12:15:16 +0000 Subject: [PATCH] [FIX] website_sale: Added base_url to schema.org microdata tags Steps to reproduce the bug: - install eCommerce module with assets - go to any product page - check the source code with https://validator.schema.org/ Notice that the 'image' and 'url' microdata tags have no base url, so the engine assumes http://schema.org/ to be the base url. This makes certain ad trackers such as facebook pixel unable to detect the product being sold. This commit adds the base_url field to both tags so that they are correctly traced. opw-2830058 closes odoo/odoo#99328 X-original-commit: 6817b964156938afb1f9ef261413e76ba256067f Signed-off-by: William Braeckman (wbr) --- addons/website_sale/views/templates.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml index 440d67c98e1..ba709db7f60 100644 --- a/addons/website_sale/views/templates.xml +++ b/addons/website_sale/views/templates.xml @@ -634,8 +634,10 @@
+

Product Name

-