Deutsch Demo shop Store

At Birgit's nursery, customers request the catalogue through a form

In January Birgit's perennials catalogue comes out on paper, and many customers want it exactly that way. The addresses come in through a form that delivers them ready for shipping in a spreadsheet, and until the catalogue is in the letterbox, there is the PDF.

The job

The situation

Birgit runs a perennials nursery with mail order. Catalogue requests used to arrive by email and phone, and the addresses were typed up, sometimes with a postcode, sometimes without. Whoever was already a customer then appeared twice on the list.

Where the built-in tools stop

Shopware's contact form has no postal address and no country selection. And hardly anybody creates a customer account just to get a catalogue.

This is what the form looks like

Your catalogue
Which catalogues? *
  • Main catalogue 2027
  • Roses and clematis
  • Fruit trees
Postal address
Salutation
Mrs
First name *
Emma
Last name *
Miller
Street and house number *
12 Garden Lane
Postcode *
24103
Town *
Kiel
Country *
Germany

I have ordered from you before.

Customer numberonly when ticked
20417
Email
erika@example.com

First and last name are two text fields, not a double field; the customer number only appears with the tick.

What matters here

your-shop.example/admin
FormsCancelSave
FormStructureElement
Elements
#NameTypeWidth
1.1CataloguesMultiple choice (checkboxes)1/1 - full row
2.1Row 1Row--
2.1.1SalutationSalutation1/3
2.1.2First nameSingle-line text (text)1/3
2.1.3Last nameSingle-line text (text)1/3
2.2Row 2Row--
2.2.1Street and house numberSingle-line text (text)2/3
2.2.2PostcodeSingle-line text (text)1/3
2.3Row 3Row--
2.3.1TownSingle-line text (text)1/2
2.3.2CountryCountry selection1/2
2.4Existing customerCheckbox (checkbox)1/1 - full row
2.5Row 5Row--
2.5.1Customer numberSingle-line text (text)1/2
2.5.2EmailEmail address (email)1/2

Create top-level element

  • Two fields for the name

    The double field "First name + Last name" ends up in one column of the export, as "Emma / Miller". Address labels and mail merges need two columns, so there are two single-line text fields here.

  • The customer number only with a tick

    The source is the checkbox "I have ordered from you before." Checkboxes know exactly two conditions, "is checked" and "is not checked"; with "is checked" the field for the customer number appears.

  • The PDF sits in the confirmation

    The confirmation message is output as HTML. A link to the PDF version of the catalogue gives the customer something right away; the form sends them no email.

  • Where it sits

    As a "Form Manager" block in the shopping experience of the "Request a catalogue" page, linked in the footer. No assignment is needed: the catalogue hangs on no product and no order.

    The three routes to the page

  • What comes back

    Without a context, one row per request: the catalogues comma-separated in one column, the address in seven. If the customer is signed in, the name, customer number and email from their account also appear in the fixed columns.

    History, context and CSV

How to set it up

In the "Form" tab the confirmation is a "Success message (green)". Into the "Message" Birgit writes the link to the PDF version, as plain HTML.

your-shop.example/admin
FormsCancelSave
FormStructureElement
Base data
Catalogue request
Active
Confirmation
Success message (green)
Thank you! Your catalogue goes in the post within the next few days. Until then: <a href="/media/…/perennials-2027.pdf">Catalogue as PDF</a>
Email notification
catalogue@your-shop.example
Active
  1. 01

    The "Email notification" stays off

    In January hundreds of requests come in, and an email per request does not help with shipping. Birgit leaves "Active" off and fetches the addresses from the history in one go.

    TechnicalemailStatus

    Hereoff

  2. 02

    "Min. characters" and "Max. characters" on the postcode

    The postcode is a single-line text field. Under "Options" it has 4 and 10 characters; that covers everything from four-digit postcodes to formats with letters and spaces, which a number field would not accept.

    TechnicalminLength, maxLength

    Here4 · 10

  3. 03

    "Activate CAPTCHA"

    The page can be reached without signing in. In the plugin configuration Birgit switches on "Activate CAPTCHA", for all forms of the sales channel. What gets checked is the CAPTCHA chosen in the shop's basic information.

    TechnicalcaptchaEnabled

    Hereon

  4. 04

    Filter "Form" and "Date", then "Export CSV"

    In the history Birgit filters for the "Catalogue request" form and for January. The export takes every entry that matches the filters, not just the visible page.

    Technicaldvsn-form-builder-submissions-….csv

    HereForm, date

In January, 640 requests: 640 rows in one file. Columns: 14 fixed and 11 for the fields, 25 in all, separated by semicolons and with a BOM at the start, by which spreadsheets recognise UTF-8.

All settings in the manual

Questions about catalogue requests

Do I need a plugin for catalogue requests?

For a postal address, yes. Shopware's contact form has no fields for street, postcode, town and country. With the plugin you build the form in the administration and put it on a page as a block, without a template.

Can the catalogue come as a PDF right away?

Yes, through the confirmation. Its message is output as HTML, so a link to the PDF file is there right after submitting. The file sits in the shop's media like any other.

How do the addresses get to shipping?

Through the CSV export of the history: one row per request, one column per field, separated by semicolons. That lets you print address labels or pass the list to the mailing service.

Why two fields for first and last name?

Because the double field "First name + Last name" arrives in the export as one column, with a slash between the parts. Two single-line text fields give two columns, the way an address label needs them.

Does the customer need an account for this?

No, the form works without signing in. If they are signed in, their customer account is attached to the submission, and name, customer number and email appear in the fixed columns of the export.

How do I keep spam out of the form?

With the CAPTCHA from Shopware. In the plugin configuration you switch on "Activate CAPTCHA"; what gets checked is honeypot, basic CAPTCHA or Google reCAPTCHA v3, depending on what is chosen in the basic information.