Customise a WooCommerce store without extra plugins: a currency word instead of the symbol, a minimum order, a free shipping notice, a shorter checkout, Saudi mobile validation and more. Pick what you need and get a ready small plugin file.
Dozens of plugins slow the store
Each one brings updates and possible holes
One snippets file
A few lines per tweak
Works with any theme and cannot be deactivated by mistake
Classic checkout or the Checkout block?
New WooCommerce stores use the Checkout block from the block editor, and some cart and checkout snippets (marked Heads-up) are written for the classic page and may not work with the block. To check yours, edit the page: if you see the [woocommerce_checkout] shortcode, it is classic.
Snippet
Works in
Currency, button text, auto-complete, related products, reviews
Example: a perfume store with a minimum and free shipping
Pick “Minimum order amount” at 100 SAR and the free shipping notice at 300 SAR, and enable free shipping in shipping settings at the same amount. Customers see in the cart how much is left and add another item instead of paying for shipping.
Key terms
Short definitions of what you meet along the way.
Hook
A point in WooCommerce code where you add your own code without editing plugin files.
Checkout block
The new checkout page built with the block editor, instead of the old shortcode.
wc_price
A function that shows an amount in the store currency and format.
We use necessary cookies to run the site, and Google Analytics to measure visits only if you agree. You can change your choice at any time from “Cookie settings”. Privacy policy