General Overview

Note: The Presale Logic only works for stock items (clearance sale = true)

Stock Qty
= 0
Presale Startdate
is not set / empty
Availability Date
is not set / empty
Presale Startdate autocalculation
true
Result

The "clearance sale" flag is set to "true", there are no backorders allowed. The stock qty is 0.

The Product cannot be bought.

Shopware Default logic.

Stock Qty
> 0
Presale Startdate
is not set / empty
Availability Date
is not set / empty
Presale Startdate autocalculation
true
Result

The Stock Qty is greater than 0. The "Presale Releasedate" and the "Availability Date" is not set. This means, the item is on stock.

Shopware Default logic takes effect. As long as the stock qty is greater than 0, the product can be bought as an "in Stock" item.

Stock Qty
> 0
Presale Startdate
is set
Availability Date
is not set / empty
Presale Startdate autocalculation
true
Result

The "Presale" Date is set. The "Availability Date" is not set. The Stock Qty is greater than 0. The Item can be bought as a Presale Item as long as the Stock Qty is greater than 0.

Since there is no "Availability Date" it stays a "Presale Item" and does not switch to a "in Stock" item.

The customer sees a "Preorder" button instead of a "add to cart" button.

Stock Qty
> 0
Presale Startdate
is not set / empty
Availability Date
is set
Presale Startdate autocalculation
false
Result

The "Presale Startdate" is not set. The autocalculation is not active. As long as the Availabilitydate is in the future, the "add to cart" Button will be replaced with the "Coming Soon" info. The item cannot be bought. When the Availability date is reached, the item is "in Stock".

Stock Qty
> 0
Presale Startdate
is not set / empty
Availability Date
is set
Presale Startdate autocalculation
true
Result

The "Presale Startdate" is not set. The autocalculation is set to true.

The autocalculation calculates the Presale Startdate based on the Availabilitydate and the "Max Presale Days" wich can be set in the Plugin config. The Default Value for the Autocalculation is set to true. As long as the Availabilitydate and the calculated "Presale Startdate" are in the future, the "add to cart" Button will be replaced with the "Coming Soon" info. The item cannot be bought. When the "Presale Startdate" is reached, the "Coming Soon" info will be replaced with a "Presale" Button. When the Availability date is reached, the item is "in Stock".

Stock Qty
> 0
Presale Startdate
is set
Availability Date
is set
Presale Startdate autocalculation
true
Result

The "Presale Startdate" is set and overwrites the autocalculated Presale Startdate.

As long as the Availabilitydate and the "Presale Startdate" are in the future, the "add to cart" Button will be replaced with the "Coming Soon" info. The item cannot be bought. When the "Presale Startdate" is reached, the "Coming Soon" info will be replaced with a "Presale" Button. When the Availability date is reached, the item is "in Stock".

Last updated