24 Snippets
10+ Favourites
30+ Downloads

Sticky header

/*Sticky header*/ #site-header { position: fixed; top:0; opacity: 0.98; } #main { margin-top: 70px !important; /*…

display user name in a menu

/** * Show a user's display name/user name in a WordPress menu. * Once this code…

user menu for logged in and logged out users

function my_wp_nav_menu_args( $args = '' ) { if( is_user_logged_in() ) { $args['menu'] = 'logged-in'; } else…

Update Cart Automatically

/** * Update Cart Automatically on Quantity Change * * @author Misha Rudrastyh * @url https://rudrastyh.com/woocommerce/remove-update-cart-button.html…

Remove Order Notes in checkout page

/** * Snippet Name: Remove the Order Notes field section from the WooCommerce checkout. * Snippet…

Super Socializer Signin with google style

.theChampLogin.theChampGoogleBackground.theChampGoogleLogin{ height: 44px; background-color: #4285F4; border-radius: 2px; box-shadow: 0 5px 10px 0 rgba(0,0,0,.5); width: 184px; }…

Set Minimum total purchase amount

add_action( 'woocommerce_check_cart_items', 'required_min_cart_subtotal_amount' ); function required_min_cart_subtotal_amount() { // HERE Set minimum cart total amount $minimum_amount =…

REMOVE PRODUCT LINKS FROM YOUR SHOPPING CART

add_filter( 'woocommerce_cart_item_permalink', 'custom_remove_cart_product_link', 10 ); function custom_remove_cart_product_link() { return __return_null(); }

remove 'X' remove button in cart

.woocommerce table.shop_table .product-remove { text-align: center !important; display: none; }

login redirect changed from default my account page to home page

/** * WooCommerce My Account Page login Redirect */ add_action( 'wp_login', 'owp_redirect_after_logout' ); function owp_redirect_after_logout() {…

Hide SALE! Badges

/*Hide WooCommerce SALES Badges*/ .woocommerce span.onsale { display: none; } /*Hide SALES Badges in home page…

1 2