?> </div> <div class="cart-collaterals clearfix"> <?php do_action('woocommerce_cart_collaterals'); ?> <div class="one_half"> <div class="woocommerce-content-box full-width"> <strong>Delivery Date</strong>: <?php echo get_delivery_date(); ?> <?php //woocommerce_shipping_calculator(); ?> </div> <?php if ($woocommerce->cart->coupons_enabled()) { ?> <div class="woocommerce-content-box full-width"> <h2><?php
/** * Front-end display of widget. * * @see WP_Widget::widget() * * @param array $args Widget arguments. * @param array $instance Saved values from database. */ public function widget($args, $instance) { global $post; ?> <div class="product-archive-right"> <div class="product-archive-right"> <div class="textwidget"> <img src="<?php echo get_post_meta($post->ID, 'sidebar_image_for_discount', true); ?> " alt=""> </div> </div> <div style="margin: 10px 0;font-family: "Montaga", Arial, Helvetica, sans-serif !important;font-size: 18px !important;line-height: 23px;" class="next-delivery-widget"> <?php echo get_post_meta($post->ID, 'sidebar_description_for_discount', true); ?> </div> <div class="next-delivery-widget"> <span style="font-size:23px;font-weight:bold;">Next Delivery:</span> <?php $date = get_delivery_date(); $date = explode(' ', $date); $date = date_i18n('l M dS', strtotime($date[0])); ?> <div style="margin-top:5px;"><?php echo $date; ?> </div> </div> </div> <?php }