Category archive / woocommerce

Woocommerce articles.

Browse 15 woocommerce articles, guides, and code snippets by Bonny Elangbam.

← View all notes
01 — archive

Woocommerce notes

10 total
snippet

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.

Read →
snippet

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.

Read →
snippet

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.

Read →
snippet

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.

Read →
snippet

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.

Read →
snippet

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.

Read →
snippet

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.

Read →
snippet

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.

Read →
snippet

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.

Read →
guide

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.

Read →