WooCommerce

How to remove trailing zeros from round WooCommerce prices

Often, we’ll have product prices that are a round number and don’t need decimal places. In this article, we take a look at how to configure WooCommerce to remove decimals from round numbers when formatting the price.

Phil Kurth Phil Kurth

How to stop WordPress from logging deprecation warning notices

WordPress debug log is very useful to developers as it allows to see many issues our code (or third-party code) may be causing. This is often the first point of call when there is a problem on a website — checking the log. When working with a site that has a lot of plugins, there […]

Phil Kurth Phil Kurth

Want it delivered fresh? You know what to do…

We never share your data.
Read our Privacy Policy

Adding custom WooCommerce account menu links to any desired URL

When working with WooCommerce in combination with other plugins that also have account-style areas on a site, it can make sense to choose one as the primary account area and link between them. Here’s a snippet demonstrating how you can add custom links to a WooCommerce account menu and control the URL so the link […]

Phil Kurth Phil Kurth

Redirect a user after they register via WooCommerce

If you are using WooCommerce and need to redirect users to a custom thank you page after they register to your WooCommerce site, you can use the woocommerce_registration_redirect filter to do exactly that:

Good dev stuff, delivered.

Product news, tips, and other cool things we make.

We never share your data. Read our Privacy Policy

© 2016 – 2022 Hookturn Digital. All rights reserved.