From ece6f77e9333e5e35f727ac71f7b1f272f5f7cbb Mon Sep 17 00:00:00 2001 From: Alex Garel Date: Mon, 6 May 2024 14:56:14 +0200 Subject: [PATCH] fix: Add non EAN barcode in product page (#10223) hidden, for folksonomy engine to work. fixes: #7267 --- templates/web/pages/product/product_page.tt.html | 3 +++ .../product_read/get-existing-product.html | 3 +++ 2 files changed, 6 insertions(+) diff --git a/templates/web/pages/product/product_page.tt.html b/templates/web/pages/product/product_page.tt.html index 79a04128341ee..47e142e791911 100755 --- a/templates/web/pages/product/product_page.tt.html +++ b/templates/web/pages/product/product_page.tt.html @@ -166,6 +166,9 @@

[% title %]

[% lang("barcode") %]: [% code %] [% upc %]

+ [% ELSE %] + [%# put in DOM for folksonomy %] + [% END %] [% product_fields %] diff --git a/tests/integration/expected_test_results/product_read/get-existing-product.html b/tests/integration/expected_test_results/product_read/get-existing-product.html index 1bf4d35cb6bb7..8dc88e11fd2a5 100644 --- a/tests/integration/expected_test_results/product_read/get-existing-product.html +++ b/tests/integration/expected_test_results/product_read/get-existing-product.html @@ -417,6 +417,9 @@

Some product - 100 g + + +