"Only a Few Left" Low Stock Message
When a product with managed stock drops to a few units, shows a highlighted "Only 3 left, order soon" message instead of the plain stock count.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
When a product with managed stock drops to a few units, shows a highlighted "Only 3 left, order soon" message instead of the plain stock count.
Adds "(out of stock)" next to sold-out options in the variation dropdown of single-attribute products, such as sizes, so shoppers see availability before choosing.
Labels products that are out of stock but allow backorders with a "Pre-order" badge in the shop and on product pages, so buyers know shipping will be later.
Adds a "Sold out" label over the image of out-of-stock products in shop and category listings so shoppers can tell at a glance.
Automatically cancels on-hold orders paid by bank transfer or cheque that are still unpaid after a set number of days, returning the stock to your shop.
Replaces "Add to cart" with "Buy now" on single product pages and on shop listings for simple, in-stock products.
Replaces the standard "Out of stock" and "Available on backorder" labels on product pages with your own wording.
Sends one email each morning listing every product at or below your low stock threshold, instead of a separate alert per product.
Sets its own low stock threshold for products in chosen categories, so fast sellers warn you earlier while slow lines do not flood your inbox.
Removes the Openverse tab from the block inserter, so editors cannot pull external stock images into posts.
Adds a one-click stock report download under WooCommerce > Stock report, listing every product and variation with SKU, stock status, quantity and price.
Makes sold-out variations unselectable in the product options dropdowns, so customers cannot pick a size or colour you no longer have.
Leaves sold-out products out of the front-end search results while keeping them visible on the shop and category pages.
Tints rows in the admin Products list for products at or below your low stock threshold, and out-of-stock products in red, so restocking needs stand out.
Stops shoppers from adding more than a set total number of items to the cart, for limited releases or stock-controlled drops.
Lists WooCommerce products that are running low or out of stock, so you can reorder before customers notice.
Adds a "Maximum per order" field to the product Inventory tab and enforces it in the quantity box and the cart, for limited releases or allocated stock.
Shows store managers a notice on the dashboard and WooCommerce screens with how many products are out of stock, linking straight to the filtered product list.
Increases the number of variations WooCommerce loads with the page (30 by default), so large variable products update price and stock instantly and hide unavailable combinations.
Adds a dropdown of saved phrases above the order notes box, such as "Dispatched with Royal Mail" or "Waiting for stock", so staff can add common notes in one click.
Sends WooCommerce low stock and out-of-stock notifications to a purchasing or inventory address instead of the store admin.
Keeps your shop and category pages sorted as usual but moves sold-out products to the end of the list, so shoppers see what they can buy first.
Displays "In stock", "Only 3 left" or "Out of stock" under each product's price on the shop and category pages.
Turns the variation dropdowns on product pages (size, colour and so on) into clickable buttons, keeping WooCommerce's own logic for prices, stock and images.