Scripts backup

<div style="display: none;">
<div class="footer-addon">
<ul class="added_facebook"><li><img src='https://cdn.myshoptet.com/usr/www.koupelny-bernold.cz/user/documents/upload/res/fb_icon_light.svg'><span class="facebook"><a href="https://www.facebook.com/koupelny.bernold" title="Koupelny Bernold na FB" target="blank_">Sledujte nás na FB</a></span></li></ul>
</div>
<div class="footer-addon_cart">
<p style="max-width:280px"><strong>Důležité upozornění: </strong><strong style="color: red;">V&nbsp;pracovní dny po&nbsp;15:30 a&nbsp;o&nbsp;víkendu</strong> volejte na&nbsp;toto telefonní číslo: <a href="tel:+420603583835">603 583 835</a></p></div>
<div class="related_switch_wrapper"><p class="related_switch">Zobrazit více</p></div>
</div>

<script>
$('body.type-product .link-icons>a:nth-child(2) span').text('Dotaz na produkt');

</script>

<script>
document.addEventListener('ShoptetCartUpdated', function() {
var waitForEl = function(selector, callback) {
if (jQuery('.advanced-order').length) {
callback();
} else {
setTimeout(function() {
waitForEl('.advanced-order', callback);
}, 100);
}
};

waitForEl('.advanced-order', function() {
$('<a id="continue_shopping" href="." class="btn btn-conversion">Pokračovat v nákupu</a>').insertBefore('.advanced-order .extra.step a');
});
});
</script>

<script>
$('.in-krok-1 #checkoutContent h4.order-icon.order-information').text('Zvolte region doručení - Důležité pro cenu dopravného!');
$('.related_switch').click(function() {
$('.products-related > div').removeClass('inactive');
$('.products-related > div').addClass('active');
$('.related_switch_wrapper').addClass('inactive');
});
</script>

 

 

 

<script type="text/javascript">
$("#p-detail-tabs").length && ($("#p-detail-tabs").append('<li class="p-detail-tab"><a href="#hledam_nejvyhodnejsi_cenu" class="p-detail-tab-link" role="tab" data-toggle="tab">Chci slevu</a></li>'), $("#tab-content").append('<div id="hledam_nejvyhodnejsi_cenu" class="tab-pane fade" role="tabpanel" />'), $.ajax({type: "POST", url: "/hledam-nejvyhodnejsi-cenu/", success: function (a) { var t = $(a).find('#content article > div[itemprop="about"]'); null !== t && $("#hledam_nejvyhodnejsi_cenu").html(t)}}));
</script>

<script>
$( ".footer-addon" ).insertAfter( "#footer .contact-box.no-image" );
$( ".footer-addon_cart" ).insertAfter( ".box.box-sm.box-bg-default .contact-box > ul" );
$( ".TopDescription" ).insertAfter( ".category-title" );

$( ".related_switch_wrapper" ).insertAfter( ".products-related > div:nth-child(4)" );
$( ".contact-box ul li > span.tel a" ).html( "Po až pá 7 - 16h - <strong>596 722 509</strong>" );
$( ".contact-box ul li > span.cellphone a" ).html( "16 - 20h a víkend - <strong>603 583 835</strong>" );
$( '.shp-tabs-holder ul.shp-tabs li a[href="#relatedFiles"]' ).text( 'Související' );

</script>