• Skip to main content
  • Skip to primary sidebar

WordPress, Genesis Framework and Storefront customization tutorials

  • Archive
    • Free
    • Premium
  • Blog
  • About
  • Contact
  • Newsletter
  • Login
Home » Free » Page 5

Free

Update Cart on Quantity Change in WooCommerce

#1 Hide update cart button

.woocommerce button[name="update_cart"],
.woocommerce input[name="update_cart"] {
	display: none;
}

#2 Create a file named update-cart.js

jQuery( function( $ ) {
	$('.woocommerce').on('change', 'input.qty', function(){
		$("[name='update_cart']").trigger("click");
	});
});

#3 Enqueue it only on cart and checkout page

// CART
function add_custom_scripts() {
    if( is_cart() ) {
        wp_enqueue_script( 'update-cart-js', get_stylesheet_directory_uri() . '/assets/js/update-cart.js'      );
}
add_action( 'wp_enqueue_scripts', 'add_custom_scripts' );

Filed Under: Free

Order upcoming events by ACF datepicker

Filed Under: Free

Minimum cart amount for specific category in WooCommerce

Filed Under: Free Tagged With: WooCommerce

Disable Link to Single Product in WooCommerce Archive

Filed Under: Free

Hide all warnings in WP admin

Filed Under: Free

Attach file to WooCommerce order emails

Filed Under: Free Tagged With: WooCommerce

Check if current product belongs to specific category on single product page

Filed Under: Free Tagged With: WooCommerce

How to enqueue JavaScript Asynchronously in WordPress?

functions.php

Filed Under: Free Tagged With: JavaScript

How to Add Default Country to WooCommerce Checkout?

Filed Under: Free Tagged With: WooCommerce

Display WooCommerce Products with ACF Repeater Field and Post Object

Filed Under: Free Tagged With: WooCommerce

Hide If Empty WooCommerce Notification on Cart Page

Filed Under: Free Tagged With: JavaScript

Change order status to completed after successful payment in WooCommerce

Filed Under: Free Tagged With: WooCommerce

How to force SSL with .htaccess

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Filed Under: Free

Removing the short description meta box in WooCommerce

Filed Under: Free Tagged With: WooCommerce

Move WooCommerce Product Description Meta Box to the Bottom of Admin Page

Filed Under: Free Tagged With: WooCommerce

Create a WordPress Admin User via FTP

Filed Under: Free

Check if cart total greater than specific price

Filed Under: Free

Remove main text editor for WooCommerce products

Filed Under: Free

Allow to edit privacy policy for shop managers

Filed Under: Free

Custom Admin Menu Order in WordPress

Add this snippet to functions.php

Filed Under: Free

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 3
  • Page 4
  • Page 5
  • Page 6
  • Page 7
  • Interim pages omitted …
  • Page 19
  • Go to Next Page »

Primary Sidebar

Gabor Flamich

Hi! I'm Gabor.
I write tutorials on WordPress and WooCommerce.

MacBook

12 Essential Snippets for Genesis Developers

Subscribe to my Newsletter to view my basic collection of Genesis snippets that I use for my projects!

Sign Up for Free
  • Facebook
  • GitHub
  • Instagram
  • LinkedIn
  • Twitter
  • YouTube
UpdraftPlus Premium

Tags

ACF Ajax Analytics API Bootstrap Breadcrumb category CPT CSS fetch FSE Genesis Google Maps Gutenberg HTML Isotope JavaScript jQuery loop Map Menu Parallax PHP Rest API SASS SEO SQL Storefront SVG tab tag manager tags Taxonomy Tool upsell Webpack Wholesale WooCommerce WordPress WPML

Disclosure: Some of the links in this site are affiliate links. I will be paid a commission if you use this link to make a purchase.

  • Privacy Policy / Terms of Service
© 2025 WP Flames - All Right Reserved