From 514ac02973e0ca215cbad351bc1cf36f6d4fe0ea Mon Sep 17 00:00:00 2001 From: Karol Manijak <20098064+kmanijak@users.noreply.github.com> Date: Wed, 8 Nov 2023 12:13:38 +0100 Subject: [PATCH 1/5] Create Related Products pattern reused in the Single Product template That's needed in order to make the Related Products string translatable --- patterns/related-products.php | 39 +++++++++++++++++++ .../templates/blockified/single-product.html | 22 +---------- 2 files changed, 40 insertions(+), 21 deletions(-) create mode 100644 patterns/related-products.php diff --git a/patterns/related-products.php b/patterns/related-products.php new file mode 100644 index 00000000000..6203eceac0f --- /dev/null +++ b/patterns/related-products.php @@ -0,0 +1,39 @@ + + + + + diff --git a/templates/templates/blockified/single-product.html b/templates/templates/blockified/single-product.html index 8e21dcd2097..a9130ed9195 100644 --- a/templates/templates/blockified/single-product.html +++ b/templates/templates/blockified/single-product.html @@ -45,27 +45,7 @@ - - - + From 6013022f133166dd87987becc1a34b3c1e903383 Mon Sep 17 00:00:00 2001 From: Karol Manijak <20098064+kmanijak@users.noreply.github.com> Date: Wed, 8 Nov 2023 12:47:13 +0100 Subject: [PATCH 2/5] Add margin to Related Products heading --- patterns/related-products.php | 4 ++-- templates/templates/blockified/single-product.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/patterns/related-products.php b/patterns/related-products.php index 6203eceac0f..585ced7d4b3 100644 --- a/patterns/related-products.php +++ b/patterns/related-products.php @@ -11,8 +11,8 @@