The WPFolks app is out on iPhone and Android. Free, no ads. Download on the App Store Get it on Google Play
Skip to main content
Login Join

WooCommerce

Show Coupon Code in Uppercase in Cart & Checkout

By default, WooCommerce displays applied coupon codes in lowercase in the cart and checkout totals. This snippet overrides that label to show the coupon code in uppercase, which looks more professional and consistent with how coupons are typically marketed. Uses mb_strtoupper() for full multibyte and UTF-8 character support, and esc_html__() with the WooCommerce text domain […]


Hide All Shipping Methods When Free Shipping Is Available

When free shipping becomes available in WooCommerce (via minimum order, coupon, or any other condition), this snippet automatically hides all other shipping methods – such as flat rate and local pickup – leaving only the free shipping option(s) visible to the customer. Unlike threshold-based approaches, this works by detecting the presence of the free_shipping method […]


Disable WooCommerce Assets on Non-Shop Pages

Improve website speed by unloading unnecessary WooCommerce CSS and JavaScript files from pages that do not use WooCommerce functionality. This helps reduce page size, HTTP requests, and improves Core Web Vitals scores on Elementor and business websites.



Show Full Size Product Images in Shop Page

Overrides the default WooCommerce product archive image size and forces it to load the full image size. Useful when you want higher-quality images displayed without cropping or resizing.




Exclude Specific Products from All Frontend Queries

Uses the pre_get_posts hook to exclude selected WooCommerce products from appearing across frontend queries, including shop pages, search results, feeds, and product archives. The products remain accessible via direct links but are hidden from public listings. Useful for hiding discontinued, private, or restricted products without deleting them.


Remove Duplicate Schema in WooCommerce

Removes the default structured data (schema markup) generated by the WooCommerce plugin to prevent duplicate schema issues. This is useful when another SEO plugin or custom schema is already handling structured data, helping avoid conflicts and improving SEO consistency.


Auto Add “Out of Stock” Badge on WooCommerce Product Images

Automatically adds a clean “Out of Stock” badge overlay on WooCommerce product images without modifying templates. Useful for improving UX and helping users quickly identify unavailable products, especially on stores with large catalogs.   Lightweight, no plugin required, and works with most themes.


Proudly supported by