Move Focus to WooCommerce Checkout Errors
When the classic WooCommerce checkout shows errors (such as a missing field or a declined card), moves keyboard focus to the error list and has screen readers read it out.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
When the classic WooCommerce checkout shows errors (such as a missing field or a declined card), moves keyboard focus to the error list and has screen readers read it out.
Puts the billing email field first on the classic checkout so you capture the address early, which also helps abandoned cart tools.
Sends a strict no-referrer policy on the WooCommerce checkout, order received and account pages, so order keys and other private URL details are never passed to third-party scripts or sites linked from there.
Adds an unticked "Send me news and offers" checkbox to the classic checkout and stores the customer's consent on the order and their account.
Adds an unticked "Send me news and offers" checkbox to the Checkout block and saves the answer on the order, so you only email customers who agreed.
Hides OceanWP's top bar on the pages you list, such as checkout or landing pages, while keeping it on the rest of the site.
Offers a "Protect my parcel" checkbox on the classic checkout that adds an insurance fee based on the order value, and updates the totals instantly.
Closes checkout for a level once it reaches the number of active members you set, perfect for limited founding-member or cohort offers.
Adds an optional "Company" field to the Paid Memberships Pro checkout and member profile, saved with the member's account.
Sends new members to a different confirmation page for each level after checkout, for example an onboarding page for your premium tier.
Keeps chosen levels (for example a hidden staff or legacy level) off the public levels page while their checkout links keep working.
Only lets people check out with an email address from your allowed domains, for company, school or association memberships.
Re-sends the order details with a payment link to customers whose order is still pending payment a few hours after checkout, recovering failed or abandoned payments.
Adds a short secure-checkout line with accepted payment methods under the add to cart button on product pages.
Adds a phone number field to the Easy Digital Downloads checkout, saves it with the order, shows it on the order screen and provides a {checkout_phone} email tag.
Adds a phone field to the classic checkout's shipping address, so couriers can reach the recipient when an order is sent to someone else.
Adds a date picker to the classic checkout so customers can choose a delivery date after your lead time, then shows the date on the order screen and in emails.
Adds a short note above the Easy Digital Downloads purchase form explaining which details are collected for the order and linking to your privacy policy.
Shows a small image beside each product name in the "Your order" table on the classic checkout.
Adds an optional "PO number" field to the classic checkout for business buyers and shows it on the order screen, in emails and on the customer's order page.
Adds an optional "Purchase order number" field to the Checkout block for business buyers, saved on the order with WooCommerce's additional fields API.
Places the postcode and city fields side by side on the checkout, which saves space and matches how many countries write addresses.
Turns on WooCommerce's built-in rate limiting for the Store API used by the block cart and checkout, slowing down bots that test stolen cards.
Notes how every new account was created (registration form, admin screen, checkout, REST API or WP-CLI) and shows it in a "Signed up via" column on the Users screen.