ildar-shaymukhametov_grandnode-refactorings/Grand.Web/Areas/Admin/Views/Setting/Catalog.TabGeneralSettings.cshtml
@model CatalogSettingsModel

<script>
    $(document).ready(function () {

        $("#@Html.FieldIdFor(model => model.ShowCategoryProductNumber)").click(toggleShowCategoryProductNumberIncludingSubcategories);
        $("#@Html.FieldIdFor(model => model.EmailAFriendEnabled)").click(toggleEmailAFriend);
        $("#@Html.FieldIdFor(model => model.RecentlyViewedProductsEnabled)").click(toggleRecentlyViewedProducts);
        $("#@Html.FieldIdFor(model => model.SuggestedProductsEnabled)").click(toggleSuggestedProducts);
        $("#@Html.FieldIdFor(model => model.PersonalizedProductsEnabled)").click(togglePersonalizedProducts);
        $("#@Html.FieldIdFor(model => model.NewProductsEnabled)").click(toggleNewProducts);
        $("#@Html.FieldIdFor(model => model.NewProductsOnHomePage)").click(toggleNewProductsHomePage);
        $("#@Html.FieldIdFor(model => model.ShowBestsellersOnHomepage)").click(toggleBestsellersOnHomepage);
        $("#@Html.FieldIdFor(model => model.ProductsAlsoPurchasedEnabled)").click(toggleProductsAlsoPurchasedNumber);
        $("#@Html.FieldIdFor(model => model.ProductsByTagAllowCustomersToSelectPageSize)").click(toggleProductsByTagPageSize);

        toggleShowCategoryProductNumberIncludingSubcategories();
        toggleEmailAFriend();
        toggleRecentlyViewedProducts();
        toggleSuggestedProducts();
        togglePersonalizedProducts();
        toggleNewProducts();
        toggleNewProductsHomePage();
        toggleBestsellersOnHomepage();
        toggleProductsAlsoPurchasedNumber();
        toggleProductsByTagPageSize();
    });

    function toggleShowCategoryProductNumberIncludingSubcategories() {
        if ($('#@Html.FieldIdFor(model => model.ShowCategoryProductNumber)').is(':checked')) {
            $('#pnlShowCategoryProductNumberIncludingSubcategories').show();
        }
        else {
            $('#pnlShowCategoryProductNumberIncludingSubcategories').hide();
        }
    }

    function toggleEmailAFriend() {
        if ($('#@Html.FieldIdFor(model => model.EmailAFriendEnabled)').is(':checked')) {
            $('#pnlAllowAnonymousUsersToEmailAFriend').show();
        }
        else {
            $('#pnlAllowAnonymousUsersToEmailAFriend').hide();
        }
    }

    function toggleRecentlyViewedProducts() {
        if ($('#@Html.FieldIdFor(model => model.RecentlyViewedProductsEnabled)').is(':checked')) {
            $('#pnlRecentlyViewedProductsNumber').show();
        }
        else {
            $('#pnlRecentlyViewedProductsNumber').hide();
        }
    }

    function toggleSuggestedProducts() {
        if ($('#@Html.FieldIdFor(model => model.SuggestedProductsEnabled)').is(':checked')) {
            $('#pnlSuggestedProductsNumber').show();
        }
        else {
            $('#pnlSuggestedProductsNumber').hide();
        }
    }

    function togglePersonalizedProducts() {
        if ($('#@Html.FieldIdFor(model => model.PersonalizedProductsEnabled)').is(':checked')) {
            $('#pnlPersonalizedProductsNumber').show();
        }
        else {
            $('#pnlPersonalizedProductsNumber').hide();
        }
    }

    function toggleNewProducts() {
        if ($('#@Html.FieldIdFor(model => model.NewProductsEnabled)').is(':checked')) {
            $('#pnlNewProductsNumber').show();
        }
        else {
            $('#pnlNewProductsNumber').hide();
        }
    }

    function toggleNewProductsHomePage() {
        if ($('#@Html.FieldIdFor(model => model.NewProductsOnHomePage)').is(':checked')) {
            $('#pnlNewProductsNumberOnHomePage').show();
        }
        else {
            $('#pnlNewProductsNumberOnHomePage').hide();
        }
    }
    function toggleBestsellersOnHomepage() {
        if ($('#@Html.FieldIdFor(model => model.ShowBestsellersOnHomepage)').is(':checked')) {
            $('#pnlNumberOfBestsellersOnHomepage').show();
        }
        else {
            $('#pnlNumberOfBestsellersOnHomepage').hide();
        }
    }

    function toggleProductsAlsoPurchasedNumber() {
        if ($('#@Html.FieldIdFor(model => model.ProductsAlsoPurchasedEnabled)').is(':checked')) {
            $('#pnlProductsAlsoPurchasedNumber').show();
        }
        else {
            $('#pnlProductsAlsoPurchasedNumber').hide();
        }
    }

    function toggleProductsByTagPageSize() {
        if ($('#@Html.FieldIdFor(model => model.ProductsByTagAllowCustomersToSelectPageSize)').is(':checked')) {
            $('#pnlProductsByTagPageSize').hide();
            $('#pnlProductsByTagPageSizeOptions').show();
        } else {
            $('#pnlProductsByTagPageSize').show();
            $('#pnlProductsByTagPageSizeOptions').hide();
        }
    }
</script>
<div class="form-horizontal">
    <div class="form-body">
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.AllowViewUnpublishedProductPage_OverrideForStore, model => model.AllowViewUnpublishedProductPage, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="AllowViewUnpublishedProductPage" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="AllowViewUnpublishedProductPage" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="AllowViewUnpublishedProductPage"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.DisplayDiscontinuedMessageForUnpublishedProducts_OverrideForStore, model => model.DisplayDiscontinuedMessageForUnpublishedProducts, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="DisplayDiscontinuedMessageForUnpublishedProducts" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="DisplayDiscontinuedMessageForUnpublishedProducts" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="DisplayDiscontinuedMessageForUnpublishedProducts"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.ShowSkuOnProductDetailsPage_OverrideForStore, model => model.ShowSkuOnProductDetailsPage, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="ShowSkuOnProductDetailsPage" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="ShowSkuOnProductDetailsPage" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="ShowSkuOnProductDetailsPage"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.ShowSkuOnCatalogPages_OverrideForStore, model => model.ShowSkuOnCatalogPages, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="ShowSkuOnCatalogPages" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="ShowSkuOnCatalogPages" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="ShowSkuOnCatalogPages"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.ShowManufacturerPartNumber_OverrideForStore, model => model.ShowManufacturerPartNumber, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="ShowManufacturerPartNumber" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="ShowManufacturerPartNumber" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="ShowManufacturerPartNumber"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.ShowGtin_OverrideForStore, model => model.ShowGtin, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="ShowGtin" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="ShowGtin" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="ShowGtin"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.ShowFreeShippingNotification_OverrideForStore, model => model.ShowFreeShippingNotification, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="ShowFreeShippingNotification" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="ShowFreeShippingNotification" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="ShowFreeShippingNotification"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.AllowProductSorting_OverrideForStore, model => model.AllowProductSorting, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="AllowProductSorting" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="AllowProductSorting" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="AllowProductSorting"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.AllowProductViewModeChanging_OverrideForStore, model => model.AllowProductViewModeChanging, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="AllowProductViewModeChanging" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="AllowProductViewModeChanging" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="AllowProductViewModeChanging"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.ShowProductsFromSubcategories_OverrideForStore, model => model.ShowProductsFromSubcategories, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="ShowProductsFromSubcategories" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="ShowProductsFromSubcategories" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="ShowProductsFromSubcategories"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.ShowCategoryProductNumber_OverrideForStore, model => model.ShowCategoryProductNumber, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="ShowCategoryProductNumber" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="ShowCategoryProductNumber" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="ShowCategoryProductNumber"></span>
            </div>
        </div>
        <div class="form-group" id="pnlShowCategoryProductNumberIncludingSubcategories">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.ShowCategoryProductNumberIncludingSubcategories_OverrideForStore, model => model.ShowCategoryProductNumberIncludingSubcategories, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="ShowCategoryProductNumberIncludingSubcategories" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="ShowCategoryProductNumberIncludingSubcategories" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="ShowCategoryProductNumberIncludingSubcategories"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.CategoryBreadcrumbEnabled_OverrideForStore, model => model.CategoryBreadcrumbEnabled, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="CategoryBreadcrumbEnabled" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="CategoryBreadcrumbEnabled" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="CategoryBreadcrumbEnabled"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.AskQuestionEnabled_OverrideForStore, model => model.AskQuestionEnabled, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="AskQuestionEnabled" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="AskQuestionEnabled" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="AskQuestionEnabled"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.AskQuestionOnProduct_OverrideForStore, model => model.AskQuestionOnProduct, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="AskQuestionOnProduct" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="AskQuestionOnProduct" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="AskQuestionOnProduct"></span>
            </div>
        </div>

        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.EmailAFriendEnabled_OverrideForStore, model => model.EmailAFriendEnabled, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="EmailAFriendEnabled" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="EmailAFriendEnabled" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="EmailAFriendEnabled"></span>
            </div>
        </div>
        <div class="form-group" id="pnlAllowAnonymousUsersToEmailAFriend">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.AllowAnonymousUsersToEmailAFriend_OverrideForStore, model => model.AllowAnonymousUsersToEmailAFriend, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="AllowAnonymousUsersToEmailAFriend" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="AllowAnonymousUsersToEmailAFriend" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="AllowAnonymousUsersToEmailAFriend"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.RecentlyViewedProductsEnabled_OverrideForStore, model => model.RecentlyViewedProductsEnabled, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="RecentlyViewedProductsEnabled" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="RecentlyViewedProductsEnabled" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="RecentlyViewedProductsEnabled"></span>
            </div>
        </div>
        <div class="form-group" id="pnlRecentlyViewedProductsNumber">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.RecentlyViewedProductsNumber_OverrideForStore, model => model.RecentlyViewedProductsNumber, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="RecentlyViewedProductsNumber" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <admin-input asp-for="RecentlyViewedProductsNumber" />
                <span asp-validation-for="RecentlyViewedProductsNumber"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.RecommendedProductsEnabled_OverrideForStore, model => model.RecommendedProductsEnabled, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="RecommendedProductsEnabled" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="RecommendedProductsEnabled" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="RecommendedProductsEnabled"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.SuggestedProductsEnabled_OverrideForStore, model => model.SuggestedProductsEnabled, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="SuggestedProductsEnabled" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="SuggestedProductsEnabled" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="SuggestedProductsEnabled"></span>
            </div>
        </div>
        <div class="form-group" id="pnlSuggestedProductsNumber">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.SuggestedProductsNumber_OverrideForStore, model => model.SuggestedProductsNumber, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="SuggestedProductsNumber" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <admin-input asp-for="SuggestedProductsNumber" />
                <span asp-validation-for="SuggestedProductsNumber"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.PersonalizedProductsEnabled_OverrideForStore, model => model.PersonalizedProductsEnabled, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="PersonalizedProductsEnabled" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="PersonalizedProductsEnabled" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="PersonalizedProductsEnabled"></span>
            </div>
        </div>
        <div class="form-group" id="pnlPersonalizedProductsNumber">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.PersonalizedProductsNumber_OverrideForStore, model => model.PersonalizedProductsNumber, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="PersonalizedProductsNumber" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <admin-input asp-for="PersonalizedProductsNumber" />
                <span asp-validation-for="PersonalizedProductsNumber"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.NewProductsEnabled_OverrideForStore, model => model.NewProductsEnabled, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="NewProductsEnabled" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="NewProductsEnabled" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="NewProductsEnabled"></span>
            </div>
        </div>
        <div class="form-group" id="pnlNewProductsNumber">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.NewProductsNumber_OverrideForStore, model => model.NewProductsNumber, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="NewProductsNumber" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <admin-input asp-for="NewProductsNumber" />
                <span asp-validation-for="NewProductsNumber"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.NewProductsOnHomePage_OverrideForStore, model => model.NewProductsOnHomePage, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="NewProductsOnHomePage" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="NewProductsOnHomePage" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="NewProductsOnHomePage"></span>
            </div>
        </div>
        <div class="form-group" id="pnlNewProductsNumberOnHomePage">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.NewProductsNumberOnHomePage_OverrideForStore, model => model.NewProductsNumberOnHomePage, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="NewProductsNumberOnHomePage" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <admin-input asp-for="NewProductsNumberOnHomePage" />
                <span asp-validation-for="NewProductsNumberOnHomePage"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.ShowBestsellersOnHomepage_OverrideForStore, model => model.ShowBestsellersOnHomepage, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="ShowBestsellersOnHomepage" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="ShowBestsellersOnHomepage" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="ShowBestsellersOnHomepage"></span>
            </div>
        </div>
        <div class="form-group" id="pnlNumberOfBestsellersOnHomepage">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.NumberOfBestsellersOnHomepage_OverrideForStore, model => model.NumberOfBestsellersOnHomepage, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="NumberOfBestsellersOnHomepage" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <admin-input asp-for="NumberOfBestsellersOnHomepage" />
                <span asp-validation-for="NumberOfBestsellersOnHomepage"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.ProductsAlsoPurchasedEnabled_OverrideForStore, model => model.ProductsAlsoPurchasedEnabled, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="ProductsAlsoPurchasedEnabled" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="ProductsAlsoPurchasedEnabled" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="ProductsAlsoPurchasedEnabled"></span>
            </div>
        </div>
        <div class="form-group" id="pnlProductsAlsoPurchasedNumber">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.ProductsAlsoPurchasedNumber_OverrideForStore, model => model.ProductsAlsoPurchasedNumber, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="ProductsAlsoPurchasedNumber" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <admin-input asp-for="ProductsAlsoPurchasedNumber" />
                <span asp-validation-for="ProductsAlsoPurchasedNumber"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.NumberOfProductTags_OverrideForStore, model => model.NumberOfProductTags, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="NumberOfProductTags" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <admin-input asp-for="NumberOfProductTags" />
                <span asp-validation-for="NumberOfProductTags"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.ProductsByTagAllowCustomersToSelectPageSize_OverrideForStore, model => model.ProductsByTagAllowCustomersToSelectPageSize, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="ProductsByTagAllowCustomersToSelectPageSize" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="ProductsByTagAllowCustomersToSelectPageSize" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="ProductsByTagAllowCustomersToSelectPageSize"></span>
            </div>
        </div>
        <div class="form-group" id="pnlProductsByTagPageSize">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.ProductsByTagPageSize_OverrideForStore, model => model.ProductsByTagPageSize, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="ProductsByTagPageSize" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <admin-input asp-for="ProductsByTagPageSize" />
                <span asp-validation-for="ProductsByTagPageSize"></span>
            </div>
        </div>
        <div class="form-group" id="pnlProductsByTagPageSizeOptions">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.ProductsByTagPageSizeOptions_OverrideForStore, model => model.ProductsByTagPageSizeOptions, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="ProductsByTagPageSizeOptions" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <admin-input asp-for="ProductsByTagPageSizeOptions" />
                <span asp-validation-for="ProductsByTagPageSizeOptions"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.ManufacturersBlockItemsToDisplay_OverrideForStore, model => model.ManufacturersBlockItemsToDisplay, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="ManufacturersBlockItemsToDisplay" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <admin-input asp-for="ManufacturersBlockItemsToDisplay" />
                <span asp-validation-for="ManufacturersBlockItemsToDisplay"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.DisplayTaxShippingInfoFooter_OverrideForStore, model => model.DisplayTaxShippingInfoFooter, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="DisplayTaxShippingInfoFooter" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="DisplayTaxShippingInfoFooter" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="DisplayTaxShippingInfoFooter"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.DisplayTaxShippingInfoProductDetailsPage_OverrideForStore, model => model.DisplayTaxShippingInfoProductDetailsPage, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="DisplayTaxShippingInfoProductDetailsPage" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="DisplayTaxShippingInfoProductDetailsPage" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="DisplayTaxShippingInfoProductDetailsPage"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.DisplayTaxShippingInfoProductBoxes_OverrideForStore, model => model.DisplayTaxShippingInfoProductBoxes, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="DisplayTaxShippingInfoProductBoxes" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="DisplayTaxShippingInfoProductBoxes" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="DisplayTaxShippingInfoProductBoxes"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.DisplayTaxShippingInfoShoppingCart_OverrideForStore, model => model.DisplayTaxShippingInfoShoppingCart, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="DisplayTaxShippingInfoShoppingCart" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="DisplayTaxShippingInfoShoppingCart" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="DisplayTaxShippingInfoShoppingCart"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.DisplayTaxShippingInfoWishlist_OverrideForStore, model => model.DisplayTaxShippingInfoWishlist, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="DisplayTaxShippingInfoWishlist" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="DisplayTaxShippingInfoWishlist" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="DisplayTaxShippingInfoWishlist"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-8 col-md-4 col-sm-4 text-right">
                @Html.OverrideStoreCheckboxFor(model => model.DisplayTaxShippingInfoOrderDetailsPage_OverrideForStore, model => model.DisplayTaxShippingInfoOrderDetailsPage, Model.ActiveStoreScopeConfiguration)
                <admin-label asp-for="DisplayTaxShippingInfoOrderDetailsPage" class="control-label" />
            </div>
            <div class="col-4 col-md-8 col-sm-8">
                <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                    <admin-input asp-for="DisplayTaxShippingInfoOrderDetailsPage" />
                    <div class="control__indicator"></div>
                </label>
                <span asp-validation-for="DisplayTaxShippingInfoOrderDetailsPage"></span>
            </div>
        </div>
    </div>
</div>