Apply suggestions from code review

Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
Mira
2024-10-11 11:11:08 +02:00
committed by GitHub
co-authored by Richard Schreiber
parent 0191d258ab
commit 6c52cc8157
5 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ class CategoryForm(I18nModelForm):
_('Cross-selling category'), _('Products in this category are regular products, but are only shown '
'in the cross-selling step, according to the configuration below.'))),),
('both', mark_safe('{} &nbsp; <span class="text-muted">{}</span>'.format(
_('Combined category'), _('Products in this category are regular products displayed on the front page, '
_('Normal + cross-selling category'), _('Products in this category are regular products displayed on the front page, '
'but are additionally shown in the cross-selling step, according to the configuration below.'))),),
))
self.fields['category_type'].initial = self.instance.category_type