Available Shortcodes

WooCommerce Delivery Slots comes with a number of useful shortcodes.

Reservation Table

[iconic-wds-reservation-table]

Output a reservation table for reserving a time slot before checkout.

Example

Get Next Available Delivery Date

[iconic-wds-next-delivery-date]

Display the next available delivery date.

Example: 06/04/2020

Get Order Date

[iconic-wds-get-order-date]

Display the delivery date of an order.

Example: 09/04/2020

Parameter Default Description
id If a global $order object is set, it will use the ID from that. The ID of the order you want to display the delivery date from. Defaults to the global $order ID (if present).

Get Order Time

[iconic-wds-get-order-time]

Display the delivery time slot of an order.

Example: 12:30 PM - 13:45 PM

Parameter Default Description
id If a global  $order object is set, it will use the ID from that. The ID of the order you want to display the delivery date from. Defaults to the global  $order ID (if present).

Get Order Date and Time

[iconic-wds-get-order-date-time]

Display the delivery date and time slot of an order.

Example: 09/04/2020 at 12:30 PM - 13:45 PM

Parameter Default Description
id If a global  $order object is set, it will use the ID from that. The ID of the order you want to display the delivery date from. Defaults to the global  $order ID (if present).
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.