From a27cf2f178a5a720c22b0091ed22354ff66009a9 Mon Sep 17 00:00:00 2001 From: Mikhail Kolbasov Date: Fri, 19 Sep 2025 14:55:58 +0400 Subject: [PATCH] ECWID-167154 'All products' mode on catalog page: CATEGORY filter and filters settings - add hideCategoryBlockShowAllEnabledProducts --- .../apiclient/v3/dto/profile/result/FetchedStoreProfile.kt | 3 +++ .../v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt | 1 + 2 files changed, 4 insertions(+) diff --git a/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt b/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt index c446b3e3..4fc613b6 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt @@ -446,6 +446,9 @@ data class FetchedStoreProfile( @JsonFieldName("feedback_message_position") val feedbackMessagePosition: String? = null, + @JsonFieldName("hide_category_block_show_all_enabled_products") + val hideCategoryBlockShowAllEnabledProducts: Boolean? = null, + @JsonFieldName("legal_pages_show_page_links") val legalPagesShowPageLinks: Boolean? = null, diff --git a/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt b/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt index 3ddfa5b5..4e6788df 100644 --- a/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt +++ b/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt @@ -68,6 +68,7 @@ val fetchedStoreProfileNullablePropertyRules: List> = AllowNullable(FetchedStoreProfile.DesignSettings::enablePageTransitions), AllowNullable(FetchedStoreProfile.DesignSettings::enableSimpleCategoryList), AllowNullable(FetchedStoreProfile.DesignSettings::feedbackMessagePosition), + AllowNullable(FetchedStoreProfile.DesignSettings::hideCategoryBlockShowAllEnabledProducts), AllowNullable(FetchedStoreProfile.DesignSettings::legalPagesShowPageLinks), AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsAdditionalImagesHasShadow), AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsAdditionalImagesPreviewOnClick),