Skip to content

Commit c646397

Browse files
authored
Merge pull request #437 from Ecwid/ECWID-149073
ECWID-149073 Enhanced Product Filters Visibility: public API update -…
2 parents 9736f76 + 5139aa1 commit c646397

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,9 @@ data class FetchedStoreProfile(
547547
@JsonFieldName("enable_catalog_on_one_page")
548548
val enableCatalogOnOnePage: Boolean? = null,
549549

550+
@JsonFieldName("enable_catalog_seamless_product_list_view")
551+
val enableCatalogSeamlessProductListView: Boolean? = null,
552+
550553
@JsonFieldName("enable_page_transitions")
551554
val enablePageTransitions: Boolean? = null,
552555

@@ -730,15 +733,24 @@ data class FetchedStoreProfile(
730733
@JsonFieldName("product_details_two_columns_with_right_sidebar_show_product_description_on_sidebar")
731734
val productDetailsTwoColumnsWithRightSidebarShowProductDescriptionOnSidebar: Boolean? = null,
732735

736+
@JsonFieldName("product_filters_opened_by_default_on_catalog_pages")
737+
val productFiltersOpenedByDefaultOnCatalogPages: Boolean? = null,
738+
733739
@JsonFieldName("product_filters_opened_by_default_on_category_page")
734740
val productFiltersOpenedByDefaultOnCategoryPage: Boolean? = null,
735741

736742
@JsonFieldName("product_filters_position_category_page")
737743
val productFiltersPositionCategoryPage: String? = null,
738744

745+
@JsonFieldName("product_filters_position_on_catalog_pages")
746+
val productFiltersPositionOnCatalogPages: String? = null,
747+
739748
@JsonFieldName("product_filters_position_search_page")
740749
val productFiltersPositionSearchPage: String? = null,
741750

751+
@JsonFieldName("product_filters_visible_on_catalog_pages")
752+
val productFiltersVisibleOnCatalogPages: Boolean? = null,
753+
742754
@JsonFieldName("product_list_buybutton_behavior")
743755
val productListBuyNowBehaviour: String? = null,
744756

src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ val fetchedStoreProfileNullablePropertyRules: List<NullablePropertyRule<*, *>> =
7373
AllowNullable(FetchedStoreProfile.DesignSettings::checkoutShowAddressLine2),
7474
AllowNullable(FetchedStoreProfile.DesignSettings::checkoutShowStateInput),
7575
AllowNullable(FetchedStoreProfile.DesignSettings::enableCatalogOnOnePage),
76+
AllowNullable(FetchedStoreProfile.DesignSettings::enableCatalogSeamlessProductListView),
7677
AllowNullable(FetchedStoreProfile.DesignSettings::enablePageTransitions),
7778
AllowNullable(FetchedStoreProfile.DesignSettings::enableSimpleCategoryList),
7879
AllowNullable(FetchedStoreProfile.DesignSettings::feedbackMessagePosition),
@@ -134,9 +135,12 @@ val fetchedStoreProfileNullablePropertyRules: List<NullablePropertyRule<*, *>> =
134135
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsThumbnailsAspectRatio),
135136
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsTwoColumnsWithLeftSidebarShowProductDescriptionOnSidebar),
136137
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsTwoColumnsWithRightSidebarShowProductDescriptionOnSidebar),
138+
AllowNullable(FetchedStoreProfile.DesignSettings::productFiltersOpenedByDefaultOnCatalogPages),
137139
AllowNullable(FetchedStoreProfile.DesignSettings::productFiltersOpenedByDefaultOnCategoryPage),
138140
AllowNullable(FetchedStoreProfile.DesignSettings::productFiltersPositionCategoryPage),
141+
AllowNullable(FetchedStoreProfile.DesignSettings::productFiltersPositionOnCatalogPages),
139142
AllowNullable(FetchedStoreProfile.DesignSettings::productFiltersPositionSearchPage),
143+
AllowNullable(FetchedStoreProfile.DesignSettings::productFiltersVisibleOnCatalogPages),
140144
AllowNullable(FetchedStoreProfile.DesignSettings::productListBuyNowBehaviour),
141145
AllowNullable(FetchedStoreProfile.DesignSettings::productListCardLayout),
142146
AllowNullable(FetchedStoreProfile.DesignSettings::productListCategoryCellSpacing),

0 commit comments

Comments
 (0)