diff --git a/src/Form/Extension/ChannelTypeExtension.php b/src/Form/Extension/ChannelTypeExtension.php
index 5825338..3983c65 100644
--- a/src/Form/Extension/ChannelTypeExtension.php
+++ b/src/Form/Extension/ChannelTypeExtension.php
@@ -56,6 +56,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
->remove('currencies')
->remove('defaultTaxZone')
->remove('taxCalculationStrategy')
+ ->remove('channelPriceHistoryConfig')
->addEventSubscriber(new RemoveBaseCurrencySubscriber())
;
}
diff --git a/src/Resources/views/Admin/Channel/_noCommerceForm.html.twig b/src/Resources/views/Admin/Channel/_noCommerceForm.html.twig
index 61259e0..0452369 100644
--- a/src/Resources/views/Admin/Channel/_noCommerceForm.html.twig
+++ b/src/Resources/views/Admin/Channel/_noCommerceForm.html.twig
@@ -80,5 +80,10 @@
{# {{ form_row(form.skippingPaymentStepAllowed) }}#}
{{ form_row(form.accountVerificationRequired) }}
+{#
#}
+{# {{ form_row(form.channelPriceHistoryConfig.lowestPriceForDiscountedProductsVisible) }}#}
+{# {{ form_row(form.channelPriceHistoryConfig.lowestPriceForDiscountedProductsCheckingPeriod) }}#}
+{# {{ form_row(form.channelPriceHistoryConfig.taxonsExcludedFromShowingLowestPrice, {'remote_url': path('sylius_admin_ajax_taxon_by_name_phrase'), 'load_edit_url': path('sylius_admin_ajax_taxon_by_code')}) }}#}
+{#
#}
diff --git a/src/Resources/views/Admin/Channel/_standardForm.html.twig b/src/Resources/views/Admin/Channel/_standardForm.html.twig
index ad5630f..b9400f2 100644
--- a/src/Resources/views/Admin/Channel/_standardForm.html.twig
+++ b/src/Resources/views/Admin/Channel/_standardForm.html.twig
@@ -80,5 +80,12 @@
{{ form_row(form.skippingPaymentStepAllowed) }}
{{ form_row(form.accountVerificationRequired) }}
+ {% if form.channelPriceHistoryConfig is defined %}
+
+ {{ form_row(form.channelPriceHistoryConfig.lowestPriceForDiscountedProductsVisible) }}
+ {{ form_row(form.channelPriceHistoryConfig.lowestPriceForDiscountedProductsCheckingPeriod) }}
+ {{ form_row(form.channelPriceHistoryConfig.taxonsExcludedFromShowingLowestPrice, {'remote_url': path('sylius_admin_ajax_taxon_by_name_phrase'), 'load_edit_url': path('sylius_admin_ajax_taxon_by_code')}) }}
+
+ {% endif %}