# Plugin basics

# Delivery time flows

There are three main flows that can have an influence on the delivery time of a product.

  1. Holidays and National holidays
  2. Before daily deadline
  3. After daily deadline

The plugin will always handle these flows in this order. If we are in a holiday, there will be no use checking the daily deadline.

# Specifications

Every flow has it's fallback, defined in the default plugin configuration. If there is no specific configuration on holiday or product level, the fallback will be taken. Next we will go over all the flows and their fallbacks from more priority to less priority.

# Holidays

  1. Fallback on product level (in 'Advanced Delivery Date' custom field set)
  2. Fallback on holiday level
  3. Fallback in plugin configuration

# Before daily deadline

  1. Fallback on product level (default product delivery time field)
  2. Fallback on holiday level
  3. Fallback in plugin configuration

# After daily deadline

  1. Fallback on product level (in 'Advanced Delivery Date' custom field set)
  2. Fallback on holiday level
  3. Fallback in plugin configuration