{% sw_extends '@Storefront/storefront/page/content/index.html.twig' %} {# Override the main content to add custom homepage sections #} {% block page_content %} {# Hero Section with Category Cards #} {% sw_include '@DemoTheme/storefront/component/hero-section.html.twig' %} {# New Products Showcase Section #} {% sw_include '@DemoTheme/storefront/component/new-products.html.twig' %} {# Featured Products Section #} {% if page.cmsPage %} {{ "theme.featuredProducts"|trans|default("Featured Products") }} {{ "theme.featuredProductsSubtitle"|trans|default("Discover our best-selling tools trusted by professionals") }} {# Render CMS content from Shopware #} {{ parent() }} {% else %} {# Fallback if no CMS page is assigned #} {{ "theme.featuredProducts"|trans|default("Featured Products") }} {{ "theme.featuredProductsSubtitle"|trans|default("Discover our best-selling tools trusted by professionals") }} {# You can configure products via CMS in Shopware admin #} {{ "theme.configureCms"|trans|default("Please configure your homepage content in the Shopware admin panel.") }} {% endif %} {# Categories Section #} {% sw_include '@DemoTheme/storefront/component/categories-section.html.twig' %} {# Industry Solutions Section #} {% sw_include '@DemoTheme/storefront/component/industry-solutions.html.twig' %} {# Why Choose Us Section #} {% sw_include '@DemoTheme/storefront/component/why-choose-us.html.twig' %} {# Trusted Brands Section #} {% sw_include '@DemoTheme/storefront/component/brands-section.html.twig' %} {# Quality Certifications Section #} {% sw_include '@DemoTheme/storefront/component/certifications.html.twig' %} {# Testimonials Section #} {% sw_include '@DemoTheme/storefront/component/testimonials.html.twig' %} {# Knowledge Hub / Blog Section #} {% sw_include '@DemoTheme/storefront/component/knowledge-hub.html.twig' %} {# CTA Section #} {% sw_include '@DemoTheme/storefront/component/cta-section.html.twig' %} {% endblock %}
{{ "theme.featuredProductsSubtitle"|trans|default("Discover our best-selling tools trusted by professionals") }}