/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
<?php
/**
 * Email delivery details.
 *
 * @package WC_OD/Templates/Emails
 * @version 2.6.0
 */

defined( 'ABSPATH' ) || exit;

/**
 * Template vars.
 *
 * @var array  $args            Template arguments.
 * @var string $title           The section title.
 * @var string $date            The selected date by the customer with the ISO 8601 format.
 * @var array  $time_frame      An array with the time frame data.
 * @var bool   $is_local_pickup Whether the order shipping method is a local pickup.
 */
?>
<h2><?php echo esc_html( $title ); ?></h2>

<div style="margin-bottom:40px;">
	<?php
	/**
	 * Fired before displaying the delivery details in the email.
	 *
	 * @since 1.1.0
	 *
	 * @param array $args Template arguments.
	 */
	do_action( 'wc_od_email_before_delivery_details', $args );

	if ( $is_local_pickup ) :
		/* translators: %s: pickup date */
		$message = __( 'Pickup date: %s.', 'woocommerce-order-delivery' );
	else :
		/* translators: %s: delivery date */
		$message = __( 'We will try our best to deliver your order on %s.', 'woocommerce-order-delivery' );
	endif;

	echo wp_kses_post( wpautop( sprintf( $message, '<strong>' . wc_od_localize_date( $date ) . '</strong>' ) ) );

	if ( ! empty( $time_frame ) ) :
		/* translators: %s: time frame */
		echo wp_kses_post( wpautop( sprintf( __( 'Time frame: %s', 'woocommerce-order-delivery' ), '<strong>' . wc_od_time_frame_to_string( $time_frame ) . '</strong>' ) ) );
	endif;

	/**
	 * Fired after displaying the delivery details in the email.
	 *
	 * @since 1.1.0
	 *
	 * @param array $args Template arguments.
	 */
	do_action( 'wc_od_email_after_delivery_details', $args );
	?>
</div>

