• Custom Error Messages for Product Add-Ons

    Recently I ran across a request to update the required field tooltips in Product Add-Ons. These little messages are actually just generic ones created by the browser. If you only want to replace the text, we can use a bit of JavaScript to find the inputs and then add a… Listen ⇢

    Custom Error Messages for Product Add-Ons
  • Disable Tooltip on WooCommerce Quantity Input

    If a customer tries to add more of a product than the current WooCommerce stock level, they will see a “tooltip” letting them know they need to use a smaller quantity. This message is generated by the browser and typically isn’t very attractive. Here’s what it looks like in Chrome.… Listen ⇢

    Disable Tooltip on WooCommerce Quantity Input
  • Simplifying Stock Management with Variable Products in WooCommerce

    Managing stock for a store can be a very time consuming process so any way we can speed that up is great for business. Recently I was helping out a merchant who had this idea for how to simplify managing stock with their variable products. Instead of creating a variation… Listen ⇢

    Simplifying Stock Management with Variable Products in WooCommerce
  • How To Disable Specific Flat Rate Boxes in the WooCommerce USPS Shipping Method

    Out of the box, WooCommerce includes a large number of flat rate boxes in the USPS Shipping Method extension. The only problem is your store may not stock or use some of these. It is possible to change the set of boxes that the extension uses with a filter. Here’s… Listen ⇢

    How To Disable Specific Flat Rate Boxes in the WooCommerce USPS Shipping Method
  • Redirect Add to Cart Only on Single Product Pages

    I recently had a customer in chat who had an interesting request. They wanted the “add-to-cart” buttons on single product pages to redirect the user to the cart. They wanted the other “add-to-cart” buttons to leave the user on the current page. It turns out we can do this with… Listen ⇢

    Redirect Add to Cart Only on Single Product Pages
  • How to Show 6 Random Products Out of the 20 Most Recent

    Recently, a customer had an unusual request. They wanted to show six random products. That’s not hard at all, but they wanted these six to come from the 20 most recently published. That’s a bit trickier. The built-in [product] shortcode in WooCommerce can show 6 random products, but it can’t… Listen ⇢

    How to Show 6 Random Products Out of the 20 Most Recent
  • Remove “Product” from WooCommerce Attribute Breadcrumbs

    Have you ever noticed how the breadcrumbs look when viewing an attribute term archive in WooCommerce? It’ll be something like this: The tricky part comes in when we try to find the source of “Product” right before color. If I look at the attributes in my dashboard, it only shows… Listen ⇢

    Remove “Product” from WooCommerce Attribute Breadcrumbs
  • Autocomplete Paid Orders in WooCommerce

    There is a snippet you may have seen to automatically complete orders in WooCommerce. The only problem is this will only autocomplete orders when the customer visits the thank you page. For situations where the user skips the thank you page or the order is automated, this won’t help us.… Listen ⇢

    Autocomplete Paid Orders in WooCommerce
  • Limit WooCommerce Order Search to Order Numbers Only

    WooCommerce has a helpful search mechanism that you can use to locate orders in the admin. It can find orders by the user’s name, address, email, or order number. We can find this in woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php starting on line 521. What this means is WooCommerce will search though all of this… Listen ⇢

    Limit WooCommerce Order Search to Order Numbers Only

Meet Bill

Hi, I’m Bill a code wrangler at Automattic focusing on payments. I’m part of the WooCommerce team focusing on our in-house payment systems.