From 32aa4a3544dafb43041f77227a0136c24b7dfb45 Mon Sep 17 00:00:00 2001 From: Jacek Pyziak Date: Sun, 23 Nov 2025 01:35:37 +0100 Subject: [PATCH] =?UTF-8?q?Poprawa=20formatowania=20i=20struktury=20kodu?= =?UTF-8?q?=20w=20pliku=20product-custom-fields.php;=20dodanie=20warunkowe?= =?UTF-8?q?go=20wy=C5=9Bwietlania=20informacji=20o=20wymaganych=20polach.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_partial/product-custom-fields.php | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/templates_user/shop-product/_partial/product-custom-fields.php b/templates_user/shop-product/_partial/product-custom-fields.php index b646aaf..ddf480b 100644 --- a/templates_user/shop-product/_partial/product-custom-fields.php +++ b/templates_user/shop-product/_partial/product-custom-fields.php @@ -1,6 +1,7 @@ - custom_fields ) ): foreach ( $this -> custom_fields as $custom_field ):?> + custom_fields ) ):?> + custom_fields as $custom_field ):?>
-
+
*:
@@ -9,4 +10,13 @@
- \ No newline at end of file + + custom_fields, fn( $field ) => !empty( $field['is_required'] ) ) ): ?> +
+
+
+ * - pole wymagane +
+
+ + \ No newline at end of file