This little snippet checks the Woocommerce basket total and calculates how much more the customer needs to spend to get a free offer. In this case, the free offer is free shipping. You can add this message using a hook to the top of the basket page. I’m using Generatepress on the site I wrote this for, so the hook for this is generate_before_content. Generatepress really does make this very
[ Read More ]