Skip to content

Commit

Permalink
Merge pull request #437 from Ecwid/ECWID-149073
Browse files Browse the repository at this point in the history
ECWID-149073 Enhanced Product Filters Visibility: public API update -…
  • Loading branch information
e-evdokimov authored Sep 27, 2024
2 parents 9736f76 + 5139aa1 commit c646397
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,9 @@ data class FetchedStoreProfile(
@JsonFieldName("enable_catalog_on_one_page")
val enableCatalogOnOnePage: Boolean? = null,

@JsonFieldName("enable_catalog_seamless_product_list_view")
val enableCatalogSeamlessProductListView: Boolean? = null,

@JsonFieldName("enable_page_transitions")
val enablePageTransitions: Boolean? = null,

Expand Down Expand Up @@ -730,15 +733,24 @@ data class FetchedStoreProfile(
@JsonFieldName("product_details_two_columns_with_right_sidebar_show_product_description_on_sidebar")
val productDetailsTwoColumnsWithRightSidebarShowProductDescriptionOnSidebar: Boolean? = null,

@JsonFieldName("product_filters_opened_by_default_on_catalog_pages")
val productFiltersOpenedByDefaultOnCatalogPages: Boolean? = null,

@JsonFieldName("product_filters_opened_by_default_on_category_page")
val productFiltersOpenedByDefaultOnCategoryPage: Boolean? = null,

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

@JsonFieldName("product_filters_position_on_catalog_pages")
val productFiltersPositionOnCatalogPages: String? = null,

@JsonFieldName("product_filters_position_search_page")
val productFiltersPositionSearchPage: String? = null,

@JsonFieldName("product_filters_visible_on_catalog_pages")
val productFiltersVisibleOnCatalogPages: Boolean? = null,

@JsonFieldName("product_list_buybutton_behavior")
val productListBuyNowBehaviour: String? = null,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ val fetchedStoreProfileNullablePropertyRules: List<NullablePropertyRule<*, *>> =
AllowNullable(FetchedStoreProfile.DesignSettings::checkoutShowAddressLine2),
AllowNullable(FetchedStoreProfile.DesignSettings::checkoutShowStateInput),
AllowNullable(FetchedStoreProfile.DesignSettings::enableCatalogOnOnePage),
AllowNullable(FetchedStoreProfile.DesignSettings::enableCatalogSeamlessProductListView),
AllowNullable(FetchedStoreProfile.DesignSettings::enablePageTransitions),
AllowNullable(FetchedStoreProfile.DesignSettings::enableSimpleCategoryList),
AllowNullable(FetchedStoreProfile.DesignSettings::feedbackMessagePosition),
Expand Down Expand Up @@ -134,9 +135,12 @@ val fetchedStoreProfileNullablePropertyRules: List<NullablePropertyRule<*, *>> =
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsThumbnailsAspectRatio),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsTwoColumnsWithLeftSidebarShowProductDescriptionOnSidebar),
AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsTwoColumnsWithRightSidebarShowProductDescriptionOnSidebar),
AllowNullable(FetchedStoreProfile.DesignSettings::productFiltersOpenedByDefaultOnCatalogPages),
AllowNullable(FetchedStoreProfile.DesignSettings::productFiltersOpenedByDefaultOnCategoryPage),
AllowNullable(FetchedStoreProfile.DesignSettings::productFiltersPositionCategoryPage),
AllowNullable(FetchedStoreProfile.DesignSettings::productFiltersPositionOnCatalogPages),
AllowNullable(FetchedStoreProfile.DesignSettings::productFiltersPositionSearchPage),
AllowNullable(FetchedStoreProfile.DesignSettings::productFiltersVisibleOnCatalogPages),
AllowNullable(FetchedStoreProfile.DesignSettings::productListBuyNowBehaviour),
AllowNullable(FetchedStoreProfile.DesignSettings::productListCardLayout),
AllowNullable(FetchedStoreProfile.DesignSettings::productListCategoryCellSpacing),
Expand Down

0 comments on commit c646397

Please sign in to comment.