@@ -18,6 +18,7 @@ fun FetchedStoreProfile.toUpdated(): UpdatedStoreProfile {
1818 zones = zones?.map(FetchedStoreProfile .Zone ::toUpdated),
1919 businessRegistrationID = businessRegistrationID?.toUpdated(),
2020 legalPagesSettings = legalPagesSettings?.toUpdated(),
21+ designSettings = designSettings?.toUpdated(),
2122 productFiltersSettings = productFiltersSettings.toUpdated(),
2223 orderInvoiceSettings = orderInvoiceSettings?.toUpdated()
2324 )
@@ -315,6 +316,142 @@ fun FetchedStoreProfile.LegalPagesSettingsDetails.toUpdated(): UpdatedStoreProfi
315316 )
316317}
317318
319+ fun FetchedStoreProfile.DesignSettings.toUpdated (): UpdatedStoreProfile .DesignSettings {
320+ return UpdatedStoreProfile .DesignSettings (
321+ breadcrumbsHaveHomeItem = breadcrumbsHaveHomeItem,
322+ breadcrumbsHomeUrl = breadcrumbsHomeUrl,
323+ breadcrumbsSeparator = breadcrumbsSeparator,
324+ cartWidgetFixed = cartWidgetFixed,
325+ cartWidgetFixedPosition = cartWidgetFixedPosition,
326+ cartWidgetFixedShape = cartWidgetFixedShape,
327+ cartWidgetHorizontalIndent = cartWidgetHorizontalIndent,
328+ cartWidgetIcon = cartWidgetIcon,
329+ cartWidgetIsResponsive = cartWidgetIsResponsive,
330+ cartWidgetLayout = cartWidgetLayout,
331+ cartWidgetShowBuyAnimation = cartWidgetShowBuyAnimation,
332+ cartWidgetShowEmptyCart = cartWidgetShowEmptyCart,
333+ cartWidgetStoreCustomIconUrl = cartWidgetStoreCustomIconUrl,
334+ cartWidgetVerticalIndent = cartWidgetVerticalIndent,
335+ checkoutProductsCollapsedOnDesktop = checkoutProductsCollapsedOnDesktop,
336+ checkoutProductsCollapsedOnMobile = checkoutProductsCollapsedOnMobile,
337+ checkoutShowAddressLine2 = checkoutShowAddressLine2,
338+ checkoutShowStateInput = checkoutShowStateInput,
339+ enableCatalogOnOnePage = enableCatalogOnOnePage,
340+ enableCatalogSeamlessProductListView = enableCatalogSeamlessProductListView,
341+ enablePageTransitions = enablePageTransitions,
342+ enableSimpleCategoryList = enableSimpleCategoryList,
343+ feedbackMessagePosition = feedbackMessagePosition,
344+ hideCategoryBlockShowAllEnabledProducts = hideCategoryBlockShowAllEnabledProducts,
345+ legalPagesShowPageLinks = legalPagesShowPageLinks,
346+ productDetailsAdditionalImagesHasShadow = productDetailsAdditionalImagesHasShadow,
347+ productDetailsAdditionalImagesPreviewOnClick = productDetailsAdditionalImagesPreviewOnClick,
348+ productDetailsCutProductDescriptionInSidebar = productDetailsCutProductDescriptionInSidebar,
349+ productDetailsGalleryLayout = productDetailsGalleryLayout,
350+ productDetailsHidePriceModifiers = productDetailsHidePriceModifiers,
351+ productDetailsImageCarousel = productDetailsImageCarousel,
352+ productDetailsLayout = productDetailsLayout,
353+ productDetailsPositionBreadcrumbs = productDetailsPositionBreadcrumbs,
354+ productDetailsPositionBuyButton = productDetailsPositionBuyButton,
355+ productDetailsPositionDeliveryTime = productDetailsPositionDeliveryTime,
356+ productDetailsPositionProductDescription = productDetailsPositionProductDescription,
357+ productDetailsPositionProductName = productDetailsPositionProductName,
358+ productDetailsPositionProductOptions = productDetailsPositionProductOptions,
359+ productDetailsPositionProductPrice = productDetailsPositionProductPrice,
360+ productDetailsPositionProductLoyalty = productDetailsPositionProductLoyalty,
361+ productDetailsPositionProductSku = productDetailsPositionProductSku,
362+ productDetailsPositionReviewSection = productDetailsPositionReviewSection,
363+ productDetailsPositionSaveForLater = productDetailsPositionSaveForLater,
364+ productDetailsPositionShareButtons = productDetailsPositionShareButtons,
365+ productDetailsPositionSubtitle = productDetailsPositionSubtitle,
366+ productDetailsPositionWholesalePrices = productDetailsPositionWholesalePrices,
367+ productDetailsShowAttributes = productDetailsShowAttributes,
368+ productDetailsShowBreadcrumbs = productDetailsShowBreadcrumbs,
369+ productDetailsShowBreadcrumbsPosition = productDetailsShowBreadcrumbsPosition,
370+ productDetailsShowBuyButton = productDetailsShowBuyButton,
371+ productDetailsShowDeliveryTime = productDetailsShowDeliveryTime,
372+ productDetailsShowFacebookShareButton = productDetailsShowFacebookShareButton,
373+ productDetailsShowInStockLabel = productDetailsShowInStockLabel,
374+ productDetailsShowNavigationArrows = productDetailsShowNavigationArrows,
375+ productDetailsShowNumberOfItemsInStock = productDetailsShowNumberOfItemsInStock,
376+ productDetailsShowPinterestShareButton = productDetailsShowPinterestShareButton,
377+ productDetailsShowPricePerUnit = productDetailsShowPricePerUnit,
378+ productDetailsShowProductDescription = productDetailsShowProductDescription,
379+ productDetailsShowProductName = productDetailsShowProductName,
380+ productDetailsShowProductNameAlwaysFirstOnMobile = productDetailsShowProductNameAlwaysFirstOnMobile,
381+ productDetailsShowProductOptions = productDetailsShowProductOptions,
382+ productDetailsShowProductPhotoZoom = productDetailsShowProductPhotoZoom,
383+ productDetailsShowProductPrice = productDetailsShowProductPrice,
384+ productDetailsShowProductLoyalty = productDetailsShowProductLoyalty,
385+ productDetailsShowProductSku = productDetailsShowProductSku,
386+ productDetailsShowQty = productDetailsShowQty,
387+ productDetailsShowRatingSection = productDetailsShowRatingSection,
388+ productDetailsShowReviewsSection = productDetailsShowReviewsSection,
389+ productDetailsShowReviewsSectionInOneCardView = productDetailsShowReviewsSectionInOneCardView,
390+ productDetailsShowSalePrice = productDetailsShowSalePrice,
391+ productDetailsShowSaveForLater = productDetailsShowSaveForLater,
392+ productDetailsShowShareButtons = productDetailsShowShareButtons,
393+ productDetailsShowSubtitle = productDetailsShowSubtitle,
394+ productDetailsShowTax = productDetailsShowTax,
395+ productDetailsShowTwitterShareButton = productDetailsShowTwitterShareButton,
396+ productDetailsShowVkShareButton = productDetailsShowVkShareButton,
397+ productDetailsShowWeight = productDetailsShowWeight,
398+ productDetailsShowWholesalePrices = productDetailsShowWholesalePrices,
399+ productDetailsShowZoomedImageInGallery = productDetailsShowZoomedImageInGallery,
400+ productDetailsThumbnailsAspectRatio = productDetailsThumbnailsAspectRatio,
401+ productDetailsTwoColumnsWithLeftSidebarShowProductDescriptionOnSidebar = productDetailsTwoColumnsWithLeftSidebarShowProductDescriptionOnSidebar,
402+ productDetailsTwoColumnsWithRightSidebarShowProductDescriptionOnSidebar = productDetailsTwoColumnsWithRightSidebarShowProductDescriptionOnSidebar,
403+ productFiltersOpenedByDefaultOnCatalogPages = productFiltersOpenedByDefaultOnCatalogPages,
404+ productFiltersOpenedByDefaultOnCategoryPage = productFiltersOpenedByDefaultOnCategoryPage,
405+ productFiltersPositionCategoryPage = productFiltersPositionCategoryPage,
406+ productFiltersPositionOnCatalogPages = productFiltersPositionOnCatalogPages,
407+ productFiltersPositionSearchPage = productFiltersPositionSearchPage,
408+ productFiltersVisibleOnCatalogPages = productFiltersVisibleOnCatalogPages,
409+ productListBuyNowBehaviour = productListBuyNowBehaviour,
410+ productListCardLayout = productListCardLayout,
411+ productListCategoryCellSpacing = productListCategoryCellSpacing,
412+ productListCategoryImageLayout = productListCategoryImageLayout,
413+ productListCategoryImagePosition = productListCategoryImagePosition,
414+ productListCategoryImageSize = productListCategoryImageSize,
415+ productListCategoryNameBehaviour = productListCategoryNameBehaviour,
416+ productListCellSpacing = productListCellSpacing,
417+ productListImageHasShadow = productListImageHasShadow,
418+ productListImageLayout = productListImageLayout,
419+ productListImagePosition = productListImagePosition,
420+ productListImageSize = productListImageSize,
421+ productListNameBehaviour = productListNameBehaviour,
422+ productListPriceBehaviour = productListPriceBehaviour,
423+ productListRatingSectionBehavior = productListRatingSectionBehavior,
424+ productListSKUBehaviour = productListSKUBehaviour,
425+ productListShowAdditionalImage = productListShowAdditionalImage,
426+ productListShowBreadcrumbs = productListShowBreadcrumbs,
427+ productListShowCardFrame = productListShowCardFrame,
428+ productListShowFooterMenu = productListShowFooterMenu,
429+ productListShowOnSaleLabel = productListShowOnSaleLabel,
430+ productListShowPayWhatYouWantLabel = productListShowPayWhatYouWantLabel,
431+ productListShowProductImages = productListShowProductImages,
432+ productListShowRatingInOneStar = productListShowRatingInOneStar,
433+ productListShowRatingNumberInFiveStarsView = productListShowRatingNumberInFiveStarsView,
434+ productListShowReviewsCountInFiveStarsView = productListShowReviewsCountInFiveStarsView,
435+ productListShowSignInLink = productListShowSignInLink,
436+ productListShowSoldOutLabel = productListShowSoldOutLabel,
437+ productListShowSortViewAsOptions = productListShowSortViewAsOptions,
438+ productListSubtitlesBehavior = productListSubtitlesBehavior,
439+ shoppingCartProductsCollapsedOnDesktop = shoppingCartProductsCollapsedOnDesktop,
440+ shoppingCartProductsCollapsedOnMobile = shoppingCartProductsCollapsedOnMobile,
441+ shoppingCartShowSku = shoppingCartShowSku,
442+ shoppingCartShowQtyInputs = shoppingCartShowQtyInputs,
443+ shoppingCartShowWeight = shoppingCartShowWeight,
444+ showCartWidget = showCartWidget,
445+ showRootCategories = showRootCategories,
446+ showSigninLinkWithUnifiedAccountPage = showSigninLinkWithUnifiedAccountPage,
447+ swatchesProductOptionShape = swatchesProductOptionShape,
448+ swatchesProductOptionSize = swatchesProductOptionSize,
449+ productDetailsShowAltTextAsVisibleAsDescription = productDetailsShowAltTextAsVisibleAsDescription,
450+ productFiltersOrientation = productFiltersOrientation,
451+ productListSwatchesProductOptionBehavior = productListSwatchesProductOptionBehavior,
452+ )
453+ }
454+
318455fun FetchedStoreProfile.LegalPagesInfo.toUpdated (): UpdatedStoreProfile .LegalPagesInfo {
319456 return UpdatedStoreProfile .LegalPagesInfo (
320457 type = type?.toUpdated(),
0 commit comments