WordPress Tutorials

WooCommerce: Maxlength and Minlength for Checkout Fields

If you’re familiar with HTML, you can add “maxlength” and “minlength” attributes to an input field in order to force

WordPress Tutorials

WooCommerce: Hide Coupon Code @ Cart & Checkout Page

When you apply a coupon code programmatically, or when you really need it anyway, you may want to hide the

WordPress Tutorials

WooCommerce: Display & Save WP User Field (e.g. user_url) @ Checkout

I’m curious to know how many had the same problem. At WooCommerce checkout, some user fields such as billing_name, shipping_address_1,

WooCommerce: editing "Have a Coupon?" message @ checout
WordPress Tutorials

WooCommerce: Edit “Have a Coupon?” Message @ Cart & Checkout

I wanted to do something different on my own checkout page, and change the default “Have a Coupon?” message. Thankfully,

WordPress Tutorials

WooCommerce: Display Total Weight @ Cart & Checkout

Following up from the other day’s snippet (deny checkout based on cart weight), you might want to show what is

WordPress Tutorials

WooCommerce: Per-Product Terms & Conditions @ Checkout

A freelance client sells two distinct products on the same website: a membership and an online course. Two different audiences,

WordPress Tutorials

WooCommerce: Save “Terms & Conditions” Acceptance @ Checkout

When going legal… you need proof. Accepting the “Terms and Conditions” on the checkout is required in order to placer

WordPress Tutorials

WooCommerce: Move / Remove Coupon Form @ Cart & Checkout

Coupons: the good, the bad and the ugly. WooCommerce coupon codes are great to convert more sales – but sometimes

WordPress Tutorials

WooCommerce: Put Cart & Checkout on the Same Page

This is your ultimate guide – complete with shortcodes, snippets and workarounds – to completely skip the Cart page and

WordPress Tutorials

WooCommerce: How to Customize Checkout For Conversions

I had the honor to speak at WCEU 2020 thanks to WooCommerce, who hosted me in their Sponsor track. It

WordPress Tutorials

WooCommerce: Limit Shipping to One State Only

WooCommerce allows you to limit shipping by countries (or “allowed” countries). However, say your business is based in Pennsylvania, USA

WordPress Tutorials

WooCommerce: Disable Payment Gateway for Specific User Role

You may want to disable payment gateways depending on the user role or user capability. For example, you may want

WordPress Tutorials

WooCommerce: Hide Shipping Rates if Free Shipping Available

If Free Shipping is available, you possibly don’t want to show the other paid shipping options. WooCommerce shows by default

WordPress Tutorials

WooCommerce: Disable Payment Gateway by Country

You might want to disable PayPal for non-local customers or enable a specific gateway for only one country… Either way,

WordPress Tutorials

WooCommerce: Disable PostCode/Zip Field on the Checkout Page

In some countries there is no Postcode/ZIP (such as Ireland!). How do we make the Postcode/ZIP field not required, or

WordPress Tutorials

WooCommerce: Add Payment Method to Order Emails

If you wish to print the payment gateway name on order emails (in its own paragraph below the order items