What this plugin does
This plugin lets customers order products before their release date. It is especially useful for clearance items (Shopware “Clearance sale” toggle): such items normally disappear from listing and search as soon as the stock reaches 0 – with this plugin they stay visible and available for pre-order until the release date, within a freely configurable quota.
Installation
- Get the plugin from the marketplace via your Shopware account or upload the ZIP file manually under “Extensions → My extensions”.
- Under “Extensions → My extensions” install and then activate the plugin.
- Clear the cache. No further master data is required – you can start right away.
Make a product available for pre-order
- Open the desired product (or variant) in the admin.
- Under General → Release date set a date in the future. Without a future release date the pre-order toggle stays disabled and shows a note.
- In the Deliverability card (Specifications tab) you will find the new Available for pre-order toggle next to the “Clearance sale” toggle. Switch it on.
- In the Pre-order quota field enter how many units may be pre-ordered in addition to the existing stock. 0 means: only the existing stock can be pre-ordered.
- Save the product. Done – the product now shows the pre-order button until the release date.
For sold-out items: Additionally enable the Shopware Clearance sale toggle. Only then does the item stay visible and available for pre-order despite a stock of 0, even when “Hide sold-out products” is enabled in the sales channel settings.
Mind the minimum purchase: An item is only available for pre-order (and visible) if stock + pre-order quota reaches the product's minimum purchase. If the quota is smaller than the minimum purchase, the item stays hidden.
Note on variants: The pre-order setting is not inherited from the parent to the variants. Set the toggle and the quota per variant that should be available for pre-order.
How it looks in the shop
- On the product page and in the product listing the Pre-order button appears instead of “Add to cart”.
- The item is available for pre-order as long as stock + quota is not used up. After that it is sold out and disappears from the listing.
- In the cart and checkout the pre-order line item shows a delivery date based on the release date (depending on the configured delivery time as a range or as a single date “Available from …”) as well as the Pre-order hint.
Configuration (Extensions → My extensions → … → Configuration)
- Delivery date for pre-order items in cart and checkout: Calculated from the release date (default), Shopware default delivery date or Hide delivery date for pre-order items.
- Pre-order hint in cart and checkout: As text (default), As badge or Hide hint.
- Badge background color, Badge border color, Badge text color: only take effect in badge mode. Empty = theme primary color or no border.
- Also correct the delivery date for products without pre-order activation: optional – applies the delivery date display to every cart item with a future release date.
Note: The delivery date and hint display in the cart only takes effect while the Shopware setting “Show delivery time in shopping cart” is enabled.
Customizing texts (snippets)
All storefront texts of the plugin can be changed without code via Settings → Snippets – per language and per sales channel. Search there for the respective snippet key and override it in the desired set:
- okuehnePreOrder.buyButton – label of the pre-order button (default: “Pre-order”)
- okuehnePreOrder.cartHint – hint in cart and checkout (default: “Pre-order”)
- okuehnePreOrder.deliveryDateSingle – delivery date as a single date (default: “Delivery on %date%”)
- okuehnePreOrder.deliveryDateFrom – delivery date from the release date (default: “Available from %date%”)
The placeholder %date% is automatically replaced by the calculated date.
Rule “Cart contains pre-order item”
The plugin provides its own rule condition “Cart contains pre-order item” (Settings → Rules). With it you can detect whether the cart holds at least one pre-order line item and control, for example, the availability of shipping methods, payment methods and promotions or conditions in the Flow Builder – for instance to allow only prepayment for pre-orders.
Automation with the Flow Builder
The plugin provides a Flow trigger for placed pre-orders (in the Flow Builder under “Pre-order / Order / Placed”) that fires as soon as an order contains at least one pre-order item. With it you can, for example, send a dedicated pre-order confirmation mail, tag the order or set a status – entirely without code, via Settings → Flow Builder.
On the release day
On the release day the pre-order mode ends automatically: the quota expires and the item behaves like a normal stock item again. Orderability is always checked live; the visibility in listings is updated within an hour at the latest by a background task.
ERP and interfaces
The stock stays unchanged and can still be managed by your ERP system – during the pre-order period it may drop below zero by at most the quota. The pre-order activation and the quota can also be maintained via the Shopware Admin API; the plugin updates the display automatically afterwards.
How it works (in short)
A product is in pre-order mode when the toggle is active and the release date lies in the future. The effectively orderable amount is then stock + pre-order quota, provided this sum reaches the minimum purchase. The stock stays unchanged. On the release day the pre-order mode ends automatically.