Categories
Techie stuff WooCommerce

WooCommerce: Custom “Out of Stock” Text

I’ve used a short snippet of PHP code within my child theme in WordPress to change the text displayed (in the several places it does) when a product is out of stock – to something else. On our eCommerce shop, we wanted it to simply say “Sold Out” as we sell magazines, and once the […]

Categories
Techie stuff

Remove WordPress Admin bar for non admins!

If you’ve got a WordPress website and allow people to sign-up (that includes WooCommerce enabled eCommerce shops), then you probably don’t want them seeing that black admin bar along the top of the browser page – it just doesn’t look right for shoppers/visitors really, and I believe it should only appear for site admins. There’s […]