User Tools

Site Tools


Sidebar

magento_2:advanced_delivery_schedule

Advanced Delivery Schedule

I. Configuration

Admin can easily configure the Delivery Schedule module at BackendDelivery ScheduleConfiguration.

+ Format Date: Allow admin to choose format date. At Frontend, each time slot will be displayed as the selected format.

+ Weeks: Maximum number of weeks that customers can select the delivery date.

For example: When admin inserts 4 in this field, customers can select a day in the next 4 weeks from the current time.

+ Default max deliveries per slot: Allow admin to set the maximum number of bookings per slot.

+ Return Delivery Slot When Order shipped: For each order be shipped, the maximum slot bookings of delivery time increase 1.

+ Return Delivery Slot When Order Canceled: For each order be canceled, the maximum slot bookings of delivery time increase 1.

+ Delay (hour): Enter the number of hours.

For example: When admin inserts 24, the current time is 07:00 pm, 2018/09/10, then only slots after 24 hours counted from the current time (5 pm) will be enabled at Frontend. All earlier slots are disabled and customers can’t select.

+ First Column Header: Title of Schedule in the delivery information section on the checkout page.

+ Deliver Saturdays: Allow to deliver on Saturday or not.

+ Deliver Sundays: Allow to deliver on Sunday or not.

+ List Special Day (not delivery): Allow admin to enter the list of special days. The date format must comply with the example.

+ Calendar Display: Allow admin to select Calendar or Datetime Picker.

If admin chooses Calendar, delivery information will be displayed at Frontend as follows:

If you choose the Datetime Picker option, it will be displayed as:

+ Enable Comment: Allow customers to leave a comment.

+ Description: Description will be displayed below the schedule in Delivery Information on the checkout page.

II. Manage Delivery Times

From Admin Sidebar, go to ⇒ Delivery ScheduleManage Delivery Times.

This page lists information of Delivery Schedule including ID, Delivery Time, Sort, Status, Store view and Action.

Click on <Add New>

The Delivery Time Information page has 2 sections named General and Delivery Days

In the General tab, admin can insert general information for one delivery time such as Store View, Title, Is Active…

+ Store view: The Delivery Time will be applied for the selected store view.

+ Title: Name of delivery time.

+ Is Active: The status of delivery time (Enabled/Disabled).

+ Insert a value to the Max Deliveries Per Slot field to limit the total number of deliveries per slot. The default value is taken from ConfigurationDelivery DateDefault max deliveries per slot. Leave this field blank if there is no limitation.

+ Insert the value for the Special Day field. Note that it must be in accordance with the format date.

This Special Day field is in higher priority than List Special Day (not delivery) in Configuration.

+ Active Time field specifies the time range for the time slot to be available.

+ Sorting tab defines sorting of the delivery time displayed at Frontend.

At the Delivery Days tab, admin can enable/ disable delivery days. If admin chooses YES, the day will be enabled.

III. Manage Delivery Schedule

Go to BackendDelivery ScheduleManage Delivery Schedule.

This page lists all information of Delivery Schedule including ID, Delivery Date, Delivery Time, Bookings(Ordered) and Action.

To see the detailed delivery schedule of each transaction, click “View”.

The page show information for this schedule and orders list has 3 orders listing include: Shipped, Isn’t shipped, canceled orders.

IV. Email Integration

In extension, we have added email template file include delivery information.

To integrate information of delivery schedule (including delivery date, delivery time and comment) in the New Order Confirmation Email when the customer complete their order, take step by step as below:

  • Go to BackendMaketingEmail TemplatesAdd new Template.

Load 2 template be added default and save to 2 new templates.

  • 2. Go to BackendStoreConfigurationSalesSales EmailsOrder tab.

Change some attributes:

+ New Order Confirmation Template

+ New Order Confirmation Template for Guest

magento_2/advanced_delivery_schedule.txt · Last modified: 2018/09/27 00:31 by blanka