Category archive / woocommerce
Woocommerce articles.
Browse 15 woocommerce articles, guides, and code snippets by Bonny Elangbam.
← View all notesWoocommerce notes
Set a Minimum WooCommerce Order Amount Before Checkout
Prevent checkout until the cart reaches a configurable minimum subtotal, with a clear message on the cart and checkout pages.
Hide Specific Shipping Methods When a Product Category Is in the Cart
Remove selected WooCommerce shipping rates whenever the cart contains a product from a chosen product category.
Change WooCommerce Add to Cart Text Dynamically Based on Product Category or Price
Change the single-product Add to Cart button label according to product category, price, or both.
How to Add a Custom Required Field to WooCommerce Checkout (and Save to Order Meta & Emails)
Add, validate, save, display, and email a required WooCommerce checkout field without installing another checkout-field plugin.
Programmatically Apply an Auto-Discount Based on Cart Item Count or User Role
Apply a WooCommerce cart discount automatically when a customer buys enough items or belongs to a specific WordPress role.
Automatically Change WooCommerce Orders to Completed for Virtual and Digital Products
Move paid WooCommerce orders to Completed automatically when every purchased item is virtual and downloadable.
Disable WooCommerce Cart Fragments AJAX on Non-eCommerce Pages
Stop the cart fragments request on posts and other non-commerce pages for a lighter WooCommerce frontend and a potential 100–300ms speed improvement.
Disable WooCommerce Scripts and Styles on Non-Shop and Blog Pages
Conditionally remove WooCommerce frontend assets from pages that do not use products, checkout, cart, or account features.
WooCommerce's default variation dropdowns into selectable radio buttons
Replace WooCommerce variation dropdowns with selectable radio-button pills while keeping the native selects and variation logic intact.
Elementor Pro Widgets 2026: Ultimate Advanced Design Guide
A practical guide to Elementor Pro widgets for theme building, dynamic content, forms, popups, motion, and WooCommerce layouts.