Manual

Every setting: 16 cards, every field explained.

Generated from the configuration file of the plugin: 16 cards in the order in which a return shipment comes about, 56 settings and per card a blue notice that says what it is for. Labels and help texts read exactly like this in the Shopware admin. Almost every setting applies per sales channel.

In the adminOrders › Return shipments › side menu System › Settings

Basics

Where are the settings, and which sales channel do they apply to?

The settings are on the configuration page of the plugin: 16 cards in the order in which a return shipment comes about, with 56 settings. Every card starts with a blue notice that says what it is for and links the pages of the side menu. Extensions › My extensions › Configure opens the same page.

  1. 1

    Open Orders › Return shipments and in the side menu System › Settings.

  2. 2

    Choose the Sales Channel at the top. “All Sales Channels” is the default for every one; a single sales channel deviates only in the fields you change for it.

  3. 3

    Read the notice at the top of the card: it sums up how the fields below work together. Every field also has a question mark with its help text.

  4. 4

    Click Save. The values apply at once.

Not in the configuration but in the side menu:

  • Processes: reasons, procedures, statuses, conditions and checklist, described in the chapter Reasons, procedures, statuses.
  • Shipping: the credentials of DHL and UPS per country, described in the chapters DHL label and UPS label.
  • System › Flows and Mail templates: which mails go out, described in the chapter Emails.

For interfaces: every setting is in the system configuration of Shopware under DvsnReturnShipment.config. and its technical name, for example DvsnReturnShipment.config.deadlineStatus.

General: switching return shipments on and off in the sales channel

Which sales channel the settings apply to: Almost every setting applies per sales channel: "All sales channels" at the top is the default, a single sales channel deviates from it. Only "Dashboard and product hints" always applies to all. Reasons, Procedures, Statuses, Conditions and Checklist are under "Processes", the credentials of DHL and UPS under "Shipping".

SettingTechnical nameTypeDefault
Offer return shipmentsstatusswitchon

The field of the card “General” with its help text:

  • Card General › Offer return shipmentsSwitches return shipments in this sales channel on or off. Off: no entry "Return shipments" in the customer account, no button at the order, and customers can create no return shipment, neither in the shop nor via the store API. The administration can still create return shipments, with a notice.

The chapter How the customer gets in shows how customers get to the return shipments.

Pages for customers: design and address for customers without an account

How customers see and find their return shipment: "Modern" shows every return shipment with a coloured head, steps and cards, "Standard" stays close to the account pages of Shopware; way and fields are the same in both. Customers with an account come in via "Return shipments" in the account, customers without one via the SEO address: enter order number and email address or postal code there, and the order opens. A link in the order confirmation with ?orderNumber= fills in the order number already.

SettingTechnical nameTypeDefault
Design of the pages for customersdesignselection“Modern”
SEO addressseoUrltextruecksendung
Different SEO address per languageseoUrlsone text field per languageempty, the SEO address applies

The fields of the card “Pages for customers” with their help text:

  • Card Pages for customers › Design of the pages for customersThe look of the pages of the return shipments in the shop: "Modern" with a coloured head, steps and cards, "Standard" close to the account pages of Shopware. Way and fields are the same in both; switching is possible at any time, also for single sales channels.

  • Card Pages for customers › SEO addressAn address of its own for the login to the returns with order number and email address or postal code; it leads to the address of the extension and applies to every language without an address of its own. With ?orderNumber= the order number is filled in, for example as a link in the order confirmation: /return-url?orderNumber={{ order.orderNumber }}

    Example: return-url

  • Card Pages for customers › Different SEO address per languageOnly needed when a language should have an address of its own, for example "return-order" for English. An empty field takes the SEO address above, shown in grey in the field. When a category, a product or a page is already at the address, a notice stands below it.

The chapter Designs shows both designs, the chapter How the customer gets in the login to the order.

Who, until when and what

Requirements for orders: which orders can go back

Which orders can go back: Customers can only create a return shipment for an order that meets every requirement here; an empty field is no requirement. In the window "Create return shipment" of the administration a requirement not met shows as a notice, and creating still works there.

SettingTechnical nameTypeDefault
Valid order statesvalidOrderStatemultiple selection of order statesempty, applies to all
Valid customer groupsvalidCustomerGroupmultiple selection of customer groupsempty, applies to all
Valid countriesvalidCountrymultiple selection of countriesempty, applies to all
Allow a maximum of one return shipment per ordersingleReturnShipmentStatusswitchoff

The fields of the card “Requirements for orders” with their help text:

  • Card Requirements for orders › Valid order statesOnly orders in one of these states can go back, for example from "Done" on. Empty: every state. It is checked when the order is opened and when the return shipment is sent.

  • Card Requirements for orders › Valid customer groupsOnly orders of customers of these customer groups can go back, for example not those of dealers. Empty: every customer group.

  • Card Requirements for orders › Valid countriesOnly orders whose billing or delivery address is in one of these countries can go back; one of the two is enough. Empty: every country.

  • Card Requirements for orders › Allow a maximum of one return shipment per orderIf activated, a customer can create only one return shipment per order in the storefront. As soon as a return shipment exists for an order, no further one can be created there, regardless of the status of the existing return shipment and regardless of whether returnable products are still open. Return shipments created in the administration are not restricted by this.

The chapter Who may return shows the order of the check and the sentences for the customer.

Deadline for return shipments: until when customers create one

Until when customers can send back: The deadline starts when the first delivery of the order reaches the delivery status chosen, for example "Shipped". Until it has, no return shipment can be created while the deadline is on. In the administration a deadline that is over is only a notice.

SettingTechnical nameTypeDefault
Activate valid perioddeadlineStatusswitchoff
Specification of the deadlinedeadlineTypeselection“Period (in days)”
Days or datedeadlineDaysDatetext30
Order delivery statusdeadlineOrderDeliveryStatusselection of the states of a deliverychoose yourself, usually “Shipped”

The fields of the card “Deadline for return shipments” with their help text:

  • Card Deadline for return shipments › Activate valid periodSwitched on, return shipments can only be created within the deadline, for example up to 30 days after shipping; afterwards the order shows until when it was possible. Off: no deadline.

  • Card Deadline for return shipments › Specification of the deadline"Period (in days)" counts from the delivery status, every order has a deadline of its own. "Date (as date)" is a fixed day for every order, for example for a promotion at the end of the year.

  • Card Deadline for return shipments › Days or dateFor "Period (in days)" the number of days, for example 30; for "Date (as date)" the date as YYYY-MM-DD, for example 2026-12-31, valid until the end of that day.

  • Card Deadline for return shipments › Order delivery statusThe deadline counts from this delivery status of the first delivery, usually "Shipped". Until the delivery has reached it, nothing is possible while the deadline is on.

The chapter Deadlines shows how the deadline counts.

Requirements for products (Twig): leaving positions out with an expression

Leaving out single positions: Single products are left out with the field "Exclude from return shipments" at the product (custom fields, "Return shipment"). For rules over many products a Twig expression checks every position of the order.

SettingTechnical nameTypeDefault
Check products with TwigproductRestrictionStatusswitchoff
Twig expressionproductRestrictionTwigtext areaan example with abc-12345 and 12345

The fields of the card “Requirements for products (Twig)” with their help text:

  • Card Requirements for products (Twig) › Check products with TwigChecks every position with the expression below: in the shop a position left out cannot go back, in the window "Create return shipment" of the administration it shows with a notice. A faulty expression makes both stop with an error; try it on a test order first.

  • Card Requirements for products (Twig) › Twig expressionRuns for every position of the order, with {{ lineItem }} (the position from "order_line_item"), {{ lineItem.product }} (the product) and {{ lineItem.order }} (the order). {% set isValid = false %} leaves the position out. Example: {% if lineItem.product and lineItem.product.productNumber == 'abc-12345' %}{% set isValid = false %}{% endif %}

The chapter Who may return shows examples and the variables of the expression.

Creating a return shipment: procedure and checklist in the form

What is asked when creating: Besides quantity and reason, in the shop and in the window "Create return shipment" of the administration; the checklist only in the shop. The entries are under Procedures and Checklist.

SettingTechnical nameTypeDefault
Ask for the procedureprocedureStatusswitchon
Have the checklist confirmedchecklistStatusswitchoff

The fields of the card “Creating a return shipment” with their help text:

  • Card Creating a return shipment › Ask for the procedurePer product the customer chooses what he wishes for, for example a credit or a replacement delivery; the choices are under procedures. Off: the question is left out in the shop and in the administration.

  • Card Creating a return shipment › Have the checklist confirmedBefore sending, the customer confirms every question of the checklist in the section "Confirmation" of the form, for example "Goods packed completely?". Off: no section.

You keep procedures and checklist under “Processes”, described in the chapter Reasons, procedures, statuses.

Photos and files: size, types and files on messages

Photos and files of customers: Whether a reason asks for photos is set at the reason under Reasons. Here are size and file types for the files at products and at messages. The files are kept private under Content › Media in the folder "Return shipment files".

SettingTechnical nameTypeDefault
Largest file in MBattachmentMaxSizewhole number, from 110
Allowed file typesattachmentTypestextjpg, jpeg, png, webp, pdf
Allow files at messagesmessageAttachmentStatusswitchoff

The fields of the card “Photos and files” with their help text:

  • Card Photos and files › Largest file in MBThe largest file allowed at a product and at a message, in MB. A larger file is already refused by the form, with a notice.

  • Card Photos and files › Allowed file typesFile extensions separated by commas, for example "jpg, png, pdf". SVG, HTML and executable files are never accepted, even when they are listed here.

  • Card Photos and files › Allow files at messagesCustomer and shop can add up to three photos or files to a message, with size and types from above. Off: messages as text only.

Whether a product needs photos is set at the reason; the chapter Reasons, procedures, statuses shows it.

Approval, return document and emails

Manual approval: which return shipments are checked first

Checking return shipments before document and label: A return shipment that needs a manual approval waits after its creation for "Approve" in the administration. Until then the customer gets neither return document nor label and sees "The return shipment is being checked". With "Only when a condition applies" only a return shipment that meets at least one condition below waits; every other one gets return document and label right away.

SettingTechnical nameTypeDefault
Manual approval requiredapprovalModeselection“Never”
RuleapprovalRuleselection: rule from the Rule Builderempty
ReasonsapprovalReasonsmultiple selection of reasonsempty
ProceduresapprovalProceduresmultiple selection of proceduresempty
ShippingapprovalCarriersmultiple selectionempty
Number of returns of the customerapprovalReturnCountwhole number, from 0empty
Period of the returns of the customer in monthsapprovalReturnMonthswhole number, from 112

The fields of the card “Manual approval” with their help text:

  • Card Manual approval › Manual approval required"Never": every return shipment gets return document and label right away. "Always": every new return shipment from the storefront and the store API waits for the approval. "Only when a condition applies": the conditions below are checked once on creation, one condition met is enough. A changed template "Return shipment created" needs the sentence about the check added by hand.

  • Card Manual approval › RuleChecked against a cart of only the products sent back, with their quantities and the prices of the order, together with customer and order, like the condition "if" of the flow builder. This checks for example certain products, categories or tags, the value of the goods sent back, customer groups or the payment status of the order. Shopware does not show at the rule that it is used here; a deleted rule counts as not met.

  • Card Manual approval › ReasonsApplies when one of these reasons is chosen for at least one product, for example "Product defective". Empty: not checked.

  • Card Manual approval › ProceduresApplies when one of these procedures is chosen for at least one product, for example "Request replacement delivery". Empty: not checked.

  • Card Manual approval › ShippingApplies when the customer chooses one of these ways of shipping, for example "Ship it yourself". Empty: not checked.

  • Card Manual approval › Number of returns of the customerApplies when the customer has this many return shipments in the period below, the new one counted; with 3 from the third one on. Empty or 0: not checked.

  • Card Manual approval › Period of the returns of the customer in monthsThe months before the creation in which the return shipments of the customer are counted for "Number of returns of the customer", for example 12.

The chapter Approval shows how the team approves.

Return document and emails: number, reminder and attachments

What the customer gets after creating: The return document goes into the parcel, so the return shipment can be matched on arrival. The flow builder sends the emails: they are switched on and off in the Flows, their texts are in the Mail templates.

SettingTechnical nameTypeDefault
Number in the subject line of the return documentdocumentNumberTypeselection“Return shipment number”
Remind of the return document before the labelprovideDocumentNoteswitchon
Attachments of the mail on creationsendEmailToCustomerOnCreateAttachmentsselection“Attach return document”

The fields of the card “Return document and emails” with their help text:

  • Card Return document and emails › Number in the subject line of the return documentWhich number is in the subject line of the return document, the return shipment number or the order number. The other one is printed at the top right, so both are always on it.

  • Card Return document and emails › Remind of the return document before the labelWhen the customer wants to print a label without having opened the return document, a window reminds them once to put the document into the parcel. Off: no window.

  • Card Return document and emails › Attachments of the mail on creationWhat goes with the mail "return shipment created" to the customer; while the return shipment waits for the approval, it goes with the mail "return shipment approved" instead. Labels only when the carrier is switched on and the customer gets a label right now. When approving in the administration, the tick "Attach label" decides about the labels, preselected following this setting. Created in the administration, labels only come with their own mail.

The chapter Emails shows which mail gets which attachments.

Labels

Labels: error messages and the notice on the chargeable label

What applies to every label: DHL and UPS are switched on and off in their cards below. Here is what the customer sees when a label fails, and what the product page of a chargeable label shows.

SettingTechnical nameTypeDefault
Show the error message of the carrieroutputLabelApiErrorswitchon
Show notice on the product page of a chargeable labelchargeableLabelNoticeStatusswitchon

The fields of the card “Labels” with their help text:

  • Card Labels › Show the error message of the carrierWhen a label fails, the customer sees the message of DHL or UPS in the shop and in the store API, for example about a wrong postal code, and can check the details. Off: a general sentence instead of the message.

  • Card Labels › Show notice on the product page of a chargeable labelA product set as chargeable label in a DHL or UPS access can only be bought within the return shipment, so its product page shows no buy button. Switched on, a notice with a link to the return shipments stands there instead.

The chapter Labels shows how labels come about.

Deadline for labels: until when there is a new label

Until when there is a label: Like the deadline for return shipments, only for labels: once it is over the customer gets no new label, the return shipment itself stays. The administration shows a notice and can still create the label.

SettingTechnical nameTypeDefault
Activate valid periodlabelDeadlineStatusswitchoff
Specification of the deadlinelabelDeadlineTypeselection“Period (in days)”
Days or datelabelDeadlineDaysDatetext30
Order delivery statuslabelDeadlineOrderDeliveryStatusselection of the states of a deliverychoose yourself, usually “Shipped”

The fields of the card “Deadline for labels” with their help text:

  • Card Deadline for labels › Activate valid periodSwitched on, labels are only available within the deadline, for example up to 14 days after shipping; afterwards the customer sees that the deadline for labels is over. Off: no deadline for labels.

  • Card Deadline for labels › Specification of the deadline"Period (in days)" counts from the delivery status, every order has a deadline of its own. "Date (as date)" is a fixed day for every order, for example for a promotion at the end of the year.

  • Card Deadline for labels › Days or dateFor "Period (in days)" the number of days, for example 30; for "Date (as date)" the date as YYYY-MM-DD, for example 2026-12-31, valid until the end of that day.

  • Card Deadline for labels › Order delivery statusThe deadline counts from this delivery status of the first delivery, usually "Shipped". Until the delivery has reached it, nothing is possible while the deadline is on.

The chapter Deadlines shows what applies after the end of the deadline for labels.

DHL: label, QR code, customer groups, minimum value, logo and log

Labels of DHL: The credentials are kept per country and sales channel under DHL. The customer only gets a label when there are credentials for the country of the delivery address.

SettingTechnical nameTypeDefault
Offer DHL labeldhlLabelStatusswitchoff
Offer QR codedhlQrCodeStatusswitchoff
Allow several labels per return shipmentdhlLabelMultipleStatusswitchoff
Valid customer groupsdhlLabelValidCustomerGroupmultiple selection of customer groupsempty, applies to all
Minimum value of goods (net)dhlLabelMinValuewhole number0
Show logo at the shippingdhlLogoStatusswitchon
LogodhlLogomedialogo delivered
Log requestsdhlLabelLogStatusswitchoff

The fields of the card “DHL” with their help text:

  • Card DHL › Offer DHL labelCustomers can choose DHL as shipping and get a DHL label when credentials, customer group, minimum value and deadline fit. Off: DHL cannot be chosen when creating.

  • Card DHL › Offer QR codeNext to the label there is a QR code: the customer shows it at a branch or a parcel station and needs no printer. Off: only the label to print.

  • Card DHL › Allow several labels per return shipmentThe customer can create several labels for several parcels, at most five per return shipment; after the first label the page points this out. Off: one label per return shipment.

  • Card DHL › Valid customer groupsThe DHL label is only offered to customers of these customer groups, the others choose another way of shipping. Empty: every customer group.

  • Card DHL › Minimum value of goods (net)If the value of the goods sent back (net, in the currency of the order) is at most this high, the customer gets no label but a notice. 0: no limit.

  • Card DHL › Show logo at the shippingShows the logo next to DHL where the customer chooses the shipping of a new return shipment. Off: the name only.

  • Card DHL › LogoThe logo next to DHL, shown as a tile of 96 × 32 pixels. The extension brings one along, another image replaces it.

  • Card DHL › Log requestsRecords every request to the interface and every response in the event logs of Shopware (Settings, System, Event logs), including the credentials sent.

The credentials per country are under “Shipping” › “DHL”, described in the chapter DHL label.

UPS: label, customer groups, minimum value, logo and log

Labels of UPS: The credentials are kept per country and sales channel under UPS. The customer only gets a label when there are credentials for the country of the delivery address.

SettingTechnical nameTypeDefault
Offer UPS labelupsLabelStatusswitchoff
Allow several labels per return shipmentupsLabelMultipleStatusswitchoff
Valid customer groupsupsLabelValidCustomerGroupmultiple selection of customer groupsempty, applies to all
Minimum value of goods (net)upsLabelMinValuewhole number0
Show logo at the shippingupsLogoStatusswitchon
LogoupsLogomedialogo delivered
Log requestsupsLabelLogStatusswitchoff

The fields of the card “UPS” with their help text:

  • Card UPS › Offer UPS labelCustomers can choose UPS as shipping and get a UPS label when credentials, customer group, minimum value and deadline fit. Off: UPS cannot be chosen when creating.

  • Card UPS › Allow several labels per return shipmentThe customer can create several labels for several parcels, at most five per return shipment; after the first label the page points this out. Off: one label per return shipment.

  • Card UPS › Valid customer groupsThe UPS label is only offered to customers of these customer groups, the others choose another way of shipping. Empty: every customer group.

  • Card UPS › Minimum value of goods (net)If the value of the goods sent back (net, in the currency of the order) is at most this high, the customer gets no label but a notice. 0: no limit.

  • Card UPS › Show logo at the shippingShows the logo next to UPS where the customer chooses the shipping of a new return shipment. Off: the name only.

  • Card UPS › LogoThe logo next to UPS, shown as a tile of 96 × 32 pixels. The extension brings one along, another image replaces it.

  • Card UPS › Log requestsRecords every request to the interface and every response in the event logs of Shopware (Settings, System, Event logs), including the credentials sent.

The credentials per country are under “Shipping” › “UPS”, described in the chapter UPS label.

B-stock, dashboard and uninstalling

B-stock: offering returned goods in the shop

Selling checked goods again: At the check a product can be offered as b-stock, with condition, short description and a price of its own. The offers are at the product in the tab "B-stock" and in the list B-stock; in the shop they appear in the buy box next to the new goods.

SettingTechnical nameTypeDefault
Offer b-stock in the shopbStockStatusswitchoff
Leave b-stock out of promotionsbStockPromotionExclusionswitchoff

The fields of the card “B-stock” with their help text:

  • Card B-stock › Offer b-stock in the shopSwitched on, the offers appear in the shop in the buy box next to the new goods and can be created at the check. Off: no b-stock in this sales channel, existing offers stay stored.

  • Card B-stock › Leave b-stock out of promotionsSwitched on, discounts of promotions do not apply to b-stock, which is cheaper already. Off: discounts apply to b-stock as to every product.

The chapter B-stock shows how a checked product becomes an offer.

Dashboard and product hints: thresholds for tasks and suggestions

What stands out on the dashboard and under product hints: An open return shipment is a task on the Dashboard when it has been open longer than "Open for long from days". A product is listed under Suggestions for product hints when a reason reaches both thresholds and the product has no hint with this reason. The values apply to all sales channels.

SettingTechnical nameTypeDefault
Open for long from dayslongOpenDayswhole number, from 114
From share of the pieces sold in percentproductHintRatewhole number, from 110
From pieces sent backproductHintQuantitywhole number, from 15
Period in daysproductHintDayswhole number, from 190

The fields of the card “Dashboard and product hints” with their help text:

  • Card Dashboard and product hints › Open for long from daysAn open return shipment older than this many days is a task on the dashboard and matches the filter "open for long" of the list.

  • Card Dashboard and product hints › From share of the pieces sold in percentFrom this share of the pieces of a product sold that came back with the same reason the suggestions propose a hint; with 10 about every tenth piece.

  • Card Dashboard and product hints › From pieces sent backAt least this many pieces came back with the reason; both thresholds have to be reached. This guards against chance with few sales.

  • Card Dashboard and product hints › Period in daysThe orders of these last days and their return shipments count, whole days with today.

This card applies only to “All Sales Channels”; with a sales channel chosen, its notice turns yellow. More in the chapters Dashboard and Product hints.

Uninstall: what uninstalling deletes

The last card has no field, only a notice. It says what the plugin deletes when you uninstall it with “Remove all app data permanently”; without the switch everything stays.

Even with the switch these stay:

  • the mail templates and flows
  • the logos of DHL and UPS and the files of the customers under Content › Media
  • documents “Return shipment refund” with their number range, if any were created

The chapter Update shows how uninstalling works.

Common questions

Where do I find the settings of the return shipments?

Under Orders, Return shipments, in the side menu System, Settings. Extensions, My extensions, Configure opens the same page.

How many settings does the plugin have?

56 settings in 16 cards, plus one card with the notice about uninstalling. Every card starts with a notice that says what it is for.

Do the settings apply per sales channel?

Yes, except the card “Dashboard and product hints”, which always applies to all sales channels. “All Sales Channels” is the default; a single sales channel deviates only in the fields you change for it.

Where do I set reasons, statuses and credentials?

Not in the configuration but in the side menu of the return shipments: reasons, procedures, statuses, conditions and checklist under “Processes”, the credentials of DHL and UPS under “Shipping”.

Do my settings stay after the update?

Yes. No setting was renamed, the values stored stay. Only the settings that no longer exist are gone, for example those of the old operator mail; the chapter Update shows what the update does in detail.

How do I switch off return shipments for one sales channel?

Choose the sales channel at the top, switch off “Offer return shipments” in the card “General” and save. The admin can still create return shipments.

Why is the notice of the card “Dashboard and product hints” yellow?

Because a single sales channel is chosen at the top. These values always apply to all sales channels and are saved under “All Sales Channels”.