HEX
Server: nginx/1.26.1
System: Linux main-vm 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
User: root (0)
PHP: 8.2.19
Disabled: NONE
Upload Files
File: /var/www/rocioprime/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"})})}}})();