Update Cart Automatically
/** * Update Cart Automatically on Quantity Change * * @author Misha Rudrastyh * @url https://rudrastyh.com/woocommerce/remove-update-cart-button.html */ add_action( ‘wp_head’, function() { ?>Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
/** * Update Cart Automatically on Quantity Change * * @author Misha Rudrastyh * @url https://rudrastyh.com/woocommerce/remove-update-cart-button.html */ add_action( ‘wp_head’, function() { ?>Continue reading
function my_wp_nav_menu_args( $args = ” ) { if( is_user_logged_in() ) { $args[‘menu’] = ‘logged-in’; } else { $args[‘menu’] = ‘logged-out’; } return $args; } add_filter( ‘wp_nav_menu_args’, ‘my_wp_nav_menu_args’ );Continue reading
@media only screen and (max-width: 567px) { .joinchat{ position: absolute; bottom:70px; –s: 36px; margin-right:px; display:none } .footer-width-fixer{ display:none; } }Continue reading
/*Menu cart hover dropdown box image stretch fix*/ .woocommerce ul.product_list_widget li img { float: unset !important; display: block !important; min-width: 80px !important; height: 80px !important; margin-left: unset !important; position: relative !important; } .woocommerce ul.product_list_widget .wpr-mini-cart-image { display: inline-block; float: left;…Continue reading
/*Hide WooCommerce SALES Badges*/ .woocommerce span.onsale { display: none; } /*Hide SALES Badges in home page elementor*/ .ht-product-label.ht-product-label-right{ display: none; }Continue reading
/*Sticky header*/ #site-header { position: fixed; top:0; opacity: 0.98; } #main { margin-top: 70px !important; /* 70px – width of the header.*/ }Continue reading
/** * WooCommerce My Account Page login Redirect */ add_action( ‘wp_login’, ‘owp_redirect_after_logout’ ); function owp_redirect_after_logout() { wp_redirect( home_url() ); exit(); }Continue reading
window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag(‘js’, new Date()); gtag(‘config’, ‘G-7X38N6QS3M’); GContinue reading
window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag(‘js’, new Date()); gtag(‘config’, ‘G-7X38N6QS3M’); GContinue reading