Shopware6: Kategorien werden anders in kivi gespeichert
authorJan Büren <jan@kivitendo.de>
Thu, 9 Dec 2021 11:25:49 +0000 (12:25 +0100)
committerJan Büren <jan@kivitendo.de>
Fri, 11 Feb 2022 14:19:57 +0000 (15:19 +0100)
templates/webpages/shop_part/categories.html

index 9d51997..55e6628 100644 (file)
@@ -15,7 +15,7 @@
           <li>
           [% checked = '' %]
           [% FOREACH cat_row = SELF.shop_part.shop_category %]
-            [% IF cat_row.0 == categorie.id %]
+            [% IF (cat_row.0 == categorie.id) || (SELF.shop_part.shop.connector == 'shopware6' && cat_row == categorie.id) %]
               [% checked = 'checked' %]
             [% END %]
           [% END %]