HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux wordpress 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64
User: www-data (33)
PHP: 8.3.28
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/themes/astra/assets/js/minified/sticky-add-to-cart.min.js
(()=>{let e=document.querySelector(".ast-sticky-add-to-cart");if(e){let t=document.querySelector(".product .single_add_to_cart_button").offsetTop;window.addEventListener("scroll",function(){window.scrollY>=t?e.classList.add("is-active"):e.classList.remove("is-active")})}var t=document.querySelector(".ast-sticky-add-to-cart-action-wrap .single_link_to_cart_button"),o=document.querySelector(".single_add_to_cart_button");if(t&&o){o=document.querySelector(".single_add_to_cart_button").offsetTop;if(o){let e=o-230;e&&t.addEventListener("click",function(t){t.preventDefault(),window.scrollTo({top:e,behavior:"smooth"})})}}})();