Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- (function() {
- var checkingTheCart = setInterval(function() {
- var cartPriseElement = document.querySelector('.cart-totals-wrapper tfoot SPAN.price');
- if (cartPriseElement && adoric) {
- clearInterval(checkingTheCart);
- var cartTotalPrice = cartPriseElement.textContent.replace('₪', '').replace(',','');
- window.adoricCartTotalPrice = parseInt(cartTotalPrice);
- }
- }, 1000);
- setTimeout(function() {
- clearInterval(checkingTheCart);
- }, 10000);
- })();
- </script>
Advertisement
Add Comment
Please, Sign In to add comment