"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.
Adds the right autocomplete attributes to Contact Form 7 name, email, phone and company fields, so browsers and password managers can fill them in one tap.
Adds a linked table of contents above posts that have enough headings, and gives each heading an anchor so readers can jump straight to a section.
Switches off @mention links, notifications and the mention autocomplete in BuddyPress for communities that don't want them.
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.
Shows a dropdown of matching posts and pages under every search box as the visitor types, using the built-in REST API search.
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.
Sends Meta (Facebook) Pixel "ViewContent" on product pages and "AddToCart" when products are added, so you can build retargeting audiences and optimize ads.
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.