Setup

Recipes are intentionally structured very similarly to regular products. To display the recipes in the storefront, the following setup must be done once.

Create shopping experience layout

First you have to create a shopping experience layout for the recipes. For this you have to navigate in the admin to Content > Shopping Experiences. and click on the button Create new layout to create a new layout.

Now you have to create a new Shop page. Here you have the choice, if you want to have a Sidebar as a layout or if you or if you prefer to use the full available width with Full width. Afterwards you have to give the layout a name (e.g. Recipes).

Next, you need to drag the right CMS blocks into the layout. To display the recipes, there is a special CMS block called Recipe listing, which can be found in the block category Recipes.

If you want to use a filter, you need the CMS block called Product filter, which can be found in the block category Sidebar.

Finally you need to save the layout using the Save button.

Create category

In Shopware, new pages like the recipes are managed via their own categories. To create a new category you have to navigate to Catalogues > Categories in the admin, click on the ... button in any category and create a new category (e.g. New subcategory).

Now you have to give a name to the category (e.g. Recipes) and then activate the category via Category active.

Finally you should save the category using the Save button.

Tip

You can also create multiple subcategories for the recipes to introduce proper recipe categories. The assignment of the recipes to the categories takes place directly in the recipes.

Assign shopping experience layout

Now that you have a category for the recipes, you need to assign the shopping experience layout you created earlier to the category. Click the category again to edit the details.

A bit further down you can find the Layout Assignment section. There you can use the button Change layout to assign the to assign the shopping experience layout.

Finally you should save the category using the Save button.

Publish recipes

The one-time setup would now be done! This means that you can now publish your recipes.

Last updated