File: /storage/v4513/ivenusin/public_html/wp-content/themes/ivenus/footer.php19jan22
<footer class="black-bg">
<div class="container">
<?php dynamic_sidebar( 'custom-footer-top-widget' ); ?>
<div class="footer-middle-area">
<div class="row">
<?php dynamic_sidebar( 'custom-footer-middle-widget-1' ); ?>
<?php dynamic_sidebar( 'custom-footer-middle-widget-2' ); ?>
<?php dynamic_sidebar( 'custom-footer-middle-widget-3' ); ?>
<?php dynamic_sidebar( 'custom-footer-middle-widget-4' ); ?>
</div>
</div>
<div class="footer-bottom-area f-bottom-border pt-20 pb-20">
<div class="row align-items-center">
<div class="col-xl-6 col-lg-6 col-md-6">
<div class="copyright">
<p><?php echo get_theme_mod( 'ivenus_copyright_text' ); ?></p>
</div>
</div>
<div class="col-xl-6 col-lg-6 col-md-6">
<div class="footer-icon text-center text-md-right">
<a href="<?php echo get_theme_mod( 'ivenus_fb_link' ); ?>"><i class="fab fa-facebook-f"></i></a>
<a href="<?php echo get_theme_mod( 'ivenus_twitter_link' ); ?>"><i class="fab fa-twitter"></i></a>
<a href="<?php echo get_theme_mod( 'ivenus_instagram_link' ); ?>"><i class="fab fa-instagram"></i></a>
<a href="<?php echo get_theme_mod( 'ivenus_youtube_link' ); ?>"><i class="fab fa-youtube"></i></a>
<a href="<?php echo get_theme_mod( 'ivenus_linkedin_link' ); ?>"><i class="fab fa-linkedin"></i></a>
</div>
</div>
</div>
</div>
</div>
</footer>
<!-- Modal -->
<div class="modal fade" id="booking-open" tabindex="-1" role="dialog" aria-labelledby="aoTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-scrollable modal-dialog-centered modal-xl" role="document">
<div class="modal-content">
<div class="modal-header yellow">
<h5 class="modal-title" id="aoTitle">Book An Appointment</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<?php echo do_shortcode("[booked-calendar calendar=434]"); ?>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- Modal -->
</body>
</html>
<?php wp_footer(); ?>
<?php $user = wp_get_current_user();
if(isset($user->ID)) {
?>
<script>
gtag('event', 'page_view', {
'send_to': 'AW-781354463',
'user_id': '<?php echo $user->ID; ?>'
});
</script>
<?php } ?>
<script>
jQuery(document).ready(function($) {
var site_url = '<?php echo SITE_URL; ?>';
$("#mobile-menu .sub-menu").each(function() {
$(this).addClass('text-center');
$(this).find('li').each(function() {
if($(this).hasClass('new')) {
var currentspan = $(this).find('span').html();
$(this).find('span').addClass('label-new blink');
$(this).find('span').html('New');
$(this).find('a').append(currentspan);
}
if($(this).hasClass('coming-soon')) {
var currentspan = $(this).find('span').html();
$(this).find('span').addClass('label-coming-soon blink');
$(this).find('span').html('Coming Soon');
$(this).find('a').append(currentspan);
}
});
});
$( document ).ajaxComplete(function() {
$(".product-action-vertical .yith-wcwl-wishlistexistsbrowse .feedback").hide();
$(".product-action-vertical .yith-wcwl-add-to-wishlist .yith-wcwl-add-button").each(function() {
$(this).find(".add_to_wishlist").addClass('btn-product-icon btn-wishlist btn-expandable');
$(this).find(".add_to_wishlist").find("i").removeClass("fa");
$(this).find(".add_to_wishlist").find("i").addClass("fal");
});
$(".details-action-wrapper .yith-wcwl-add-to-wishlist .yith-wcwl-add-button").each(function() {
$(this).find(".add_to_wishlist").addClass('btn-product btn-wishlist');
$(this).find(".add_to_wishlist").find("i").removeClass("fa");
$(this).find(".add_to_wishlist").find("i").addClass("fal");
});
var count = 0;
$(".flex-control-thumbs li").each(function() {
count++;
});
if(count < 4 ) {
$(".flex-direction-nav").hide();
} else {
$(".flex-direction-nav").show();
}
$('#yith-ajaxsearchform').on('keyup keypress', function(e) {
var keyCode = e.keyCode || e.which;
if (keyCode === 13) {
e.preventDefault();
return false;
}
});
$('.delivery-box').each(function() {
var text = $(this).text();
//$(this).text(text.replace('pincode', ''));
});
if($("div.product").hasClass('product_cat-accessories') || $("div.product").hasClass('product-type-simple')) {
$(".entry-summary .price1").show();
}
var price_html = $(".entry-summary .price").html();
var variation_html = $(".single_variation_wrap .woocommerce-variation-price").html();
if($('.single_variation_wrap .woocommerce-variation-price').is(':empty')){
var variation_final_html = '<span class="price">'+price_html+'</span>';
$(".single_variation_wrap .woocommerce-variation-price").html(variation_final_html);
}
var lookupField = $('select.pickup-location-lookup');
if(lookupField.length > 0) {
lookupField.select2();
}
});
$("div.compare-button").css("overflow","inherit");
$("div.compare-button").css("background-color","transparent");
$(".slider-action-btn div.compare-button .compare").addClass("btn ivenus-solid-btn");
$(".product-action div.compare-button .compare").addClass("btn-product btn-compare");
$(".details-action-wrapper div.compare-button .compare").addClass("btn-product btn-compare");
$(".slider-action-btn div.compare-button .compare").html('<i class="fal fa-exchange"></i><span>Compare</span>');
$(".product-action div.compare-button .compare").html('<i class="fal fa-exchange"></i><span>Compare</span>');
$(".details-action-wrapper div.compare-button .compare").html('<i class="fal fa-exchange"></i><span>Add to Compare</span>');
$("div.compare-button").hover(function() {
$(this).css("box-shadow","none");
});
/*$(".btn-wishlist").click(function() {
alert("Product is added in wishlist");
});*/
function toggleIcon(e) {
$(e.target)
.prev('.panel-heading')
.find(".more-less")
.toggleClass('fa-plus fa-minus');
}
$('.panel-group').on('hidden.bs.collapse', toggleIcon);
$('.panel-group').on('shown.bs.collapse', toggleIcon);
var product_detail_page_link = $("#product_detail_page_link").html();
var technical_details_page_link = $("#technical_details_page_link").html();
setTimeout(function(){
if(product_detail_page_link!='') {
// $( ".woocommerce-product-gallery" ).append( '<div class="product_after_summary"><a href="'+technical_details_page_link+'" class="btn-product" data-title="">Technical Details</a><a href="'+product_detail_page_link+'" class="btn-product" data-title="">Learn More</a></div>' );
$( ".woocommerce-product-gallery" ).append( '<div class="product_after_summary"><a href="'+product_detail_page_link+'" class="btn btn-primary btn-lg btn-round" data-title="">Product Overview</a></div>' );
}
}, 3000);
$(".single_add_to_cart_button").html("Add to Cart1");
$('body').on('updated_cart_totals',function() {
location.reload(); // uncomment this line to refresh the page.
});
$(".shopping_assistance").click(function() {
$("#botbaba-chat-launcher-button").trigger("click");
});
/* 14/10/2020 */
$( ".single_variation_wrap" ).on( "show_variation", function ( event, variation ) {
// Fired when the user selects all the required dropdowns / attributes
// and a final variation is selected / shown
// $("#product-23803 .out-of-stock").text("Coming Soon"); 7 12 21 removed
//$(".product_cat-homepod p.price").remove();
} );
});
</script>