diff --git a/Geschäft/IT/Online Shop/Shopware 6/TopM - Migration.md b/Geschäft/IT/Online Shop/Shopware 6/TopM - Migration.md index 3f18b11..a6d104a 100644 --- a/Geschäft/IT/Online Shop/Shopware 6/TopM - Migration.md +++ b/Geschäft/IT/Online Shop/Shopware 6/TopM - Migration.md @@ -42,9 +42,8 @@ Wenn mehrerer Sprachen ausgewählt sind müssen Größenschlüssel(Unter Org dan SEO URL Anpassung: Produktseite: `{% for part in product.categories.sortByPosition().first.breadcrumb %}{{ part|lower }}/{% endfor %}{{ product.translated.name|lower }}/{{ product.productNumber }}` -{% for main_categories in product.categories %}{% if main_categories == 'Crazy Snack' %} {% for part in main_categories.breadcrumb|slice(1) %}{{ part|lower }}/{% endfor %} {% else %} {% endif %}{% endfor %}{{ product.translated.name|lower }}/{{ product.productNumber }} +{% for main_categories in product.categories.sortByPosition() %}{% if main_categories.breadcrumb|first == 'Geschmackswelten'%}{% for part in main_categories.breadcrumb|slice(1) %}{{ part|lower }}/{% endfor %}{% endif %}{% endfor %}{{ product.translated.name|lower }}/{{ product.productNumber }} -{% for part in product.categories.sortByPosition().first.breadcrumb|slice(1) %}{{ part|lower }}/{% endfor %}{{ product.translated.name|lower }}/{{ product.productNumber }} Kategorie: {% for part in category.seoBreadcrumb %}{{ part|lower }}/{% endfor %}