

Log the file, line and function that scheduled each WordPress Action Scheduler action, so you can see who queued it in WooCommerce’s Scheduled Actions.

Rename WooCommerce billing field labels in WordPress on checkout and My Account so they stay renamed after AJAX updates and country changes.

Add text before or after WooCommerce product prices, like “From:” or “incl. VAT”, with an escaped, translatable WordPress snippet.

Add a product_cat_{slug} class to the body tag on WooCommerce single product pages in WordPress, so you can style each product category with CSS.

When a WordPress search finds exactly one post, page or product, send the visitor straight to it instead of a results page with one item.

A WooCommerce product gallery slider with CSS scroll snap and plain JavaScript: no jQuery, no CDN, assets only where the slider renders.

Send the WordPress New User Registration email to the site admin whenever a customer creates a WooCommerce account at My Account or checkout.

This is a snippet for Oxy Ultimate Woo plugin that allows you to change the default “No product in cart” to anything you like. Credit to the Developer, you can see the original code here

Fo those using Oxy Ultimate Woo Cart component, this is a snippet to change the text on the checkout button to anything you need. This is courtesy of the developer and work perfectly, see original here

Remove the WooCommerce Marketing menu from the WordPress admin and keep Coupons under the WooCommerce menu.

Change the WooCommerce Add to cart button text on product pages and shop lists, without renaming Select options or out of stock buttons.

Change the WooCommerce Out of stock notice and the shop button of unavailable products to Sold out, without touching products on backorder.

Change the WooCommerce Add to cart button to Add again? when the product is already in the cart, on product pages and in shop loops.

Remove the WooCommerce “has been added to your cart” notice and its View cart button with one filter, while other store notices keep working.

Move out of stock products to the end of the WooCommerce shop and category pages, and keep the sorting your customer picked.

Disable the hover zoom on WooCommerce product images and keep the gallery and lightbox, with a short PHP snippet.

Sometimes you have a situation where you want the customer to log in, like a donation page, but you don’t want them to end up at /my-account/ but rather be taken back to the page where they were when they started. This code is useful for donation sites, as well as refer a friend scenarios.

Send WordPress users to the home page after they log out, instead of the login screen, with the logout_redirect filter.
3rd party plugins actions admin archive block-themes block editor Blocks block styles block theme build Category core CPT CSS custom post types debugging development full site editing gutenberg hook hooks Image javascript load styles Must Have npm Oxygen performance php plugins repeater rest api scripts organizer security settings api single product tailwind Taxonomy theme.json Tips updates WooCommerce wordpress wp-cli WP Admin