
esc_html__( 'Shop isle Small Banner Homepage', 'shop-isle' ),
) );
}
/**
* Setup.
* Enqueue styles, register widget regions, etc.
*/
require get_template_directory() . '/inc/functions/setup.php';
/**
* Structure.
* Template functions used throughout the theme.
*/
require get_template_directory() . '/inc/structure/hooks.php';
require get_template_directory() . '/inc/structure/post.php';
require get_template_directory() . '/inc/structure/page.php';
require get_template_directory() . '/inc/structure/header.php';
require get_template_directory() . '/inc/structure/footer.php';
require get_template_directory() . '/inc/structure/comments.php';
require get_template_directory() . '/inc/structure/template-tags.php';
/**
* Custom functions that act independently of the theme templates.
*/
require get_template_directory() . '/inc/functions/extras.php';
/**
* Customizer additions.
*/
require get_template_directory() . '/inc/customizer/customizer.php';
require get_template_directory() . '/inc/customizer/functions.php';
/**
* Load Jetpack compatibility file.
*/
require get_template_directory() . '/inc/jetpack/jetpack.php';
/**
* Load WooCommerce compatibility files.
*/
if ( is_woocommerce_activated() ) {
require get_template_directory() . '/inc/woocommerce/hooks.php';
require get_template_directory() . '/inc/woocommerce/functions.php';
require get_template_directory() . '/inc/woocommerce/template-tags.php';
require get_template_directory() . '/inc/woocommerce/integrations.php';
}
/**
* Checkout page
* Move the coupon fild and message info after the order table
**/
function shop_isle_coupon_after_order_table_js() {
wc_enqueue_js( '
$( $( ".woocommerce-info, .checkout_coupon" ).detach() ).appendTo( "#shop-isle-checkout-coupon" );
');
}
add_action( 'woocommerce_before_checkout_form', 'shop_isle_coupon_after_order_table_js' );
function shop_isle_coupon_after_order_table() {
echo '
';
}
add_action( 'woocommerce_checkout_order_review', 'shop_isle_coupon_after_order_table' );
// Ensure cart contents update when products are added to the cart via AJAX )
add_filter( 'woocommerce_add_to_cart_fragments', 'shop_isle_woocommerce_header_add_to_cart_fragment' );
function shop_isle_woocommerce_header_add_to_cart_fragment( $fragments ) {
ob_start();
?>
cart->get_cart_contents_count() ) ); ?>

Your Information & Terms of Service
My Market Toolkit is a brand of Vauntium, LLC. The information you submit on this page is subject to the Vauntium Privacy Policy and Terms of Service. While we do not share your information with 3rd parties (including our clients) except for limited reasons outlined in the Privacy Policy, the information you submit on this page will be used to contact you regarding this and other offers. Please click here to opt out of future marketing communications by Vauntium, LLC. You will not be opted out of marketing campaigns we produce on behalf of our clients who maintain their own separate information, opt in lists, and policies and with whom you may have opted in during other interactions.