Skip to content

Storefront

Storefront ​

The Storefront is the customer-facing layer of Shopware. When building a plugin, you extend the Storefront to:

  • Add new pages or endpoints
  • Modify templates and layouts
  • Inject dynamic data
  • Add JavaScript behavior
  • Customize styling and assets

This section follows a practical development workflow and mirrors the folder structure inside /storefront.

How to use this section ​

Most Storefront customizations follow this sequence:

  1. Add or extend a controller
  2. Render or override a template
  3. Inject data into the page
  4. Enhance behavior with JavaScript
  5. Apply styling and assets

Start with the /controllers folder and move downward as needed.

Section structure ​

Advanced ​

Infrastructure and optimization topics.

Controllers ​

Create new routes and pages, or extend existing ones.

How-to ​

Feature-specific examples and focused use-cases.

JavaScript ​

Extend or override frontend behavior.

Styling and assets ​

Control appearance and resources.

Templates ​

Override or extend Twig templates and layout blocks.

Next steps ​

Was this page helpful?
UnsatisfiedSatisfied
Be the first to vote!
0.0 / 5  (0 votes)