WooWeekly #420: Stock Quantity, Restocking

Hello there,

Welcome back to WooWeekly, your weekly appointment with WooCommerce tutorials, tips and updates handpicked for you (and the other 17,291 subscribers) so that you can learn something new.

We’re moving to the new place this Saturday, so I’m pretty excited about that. We’ll see how little Lorenzo takes it; we’ve got a plan B (sleeping at grandma’s) but I really hope it all goes accordingly to plan A, for once.

Anyhow, back to Woo now… enjoy!



GoDaddy PRO WordPress Ecommerce hosting with WooCommerce gives you the freedom to sell anything, anywhere online – from physical products to digital downloads, services and subscriptions. We’ve integrated WooCommerce into our Managed WordPress platform where you can choose from over 75 premium WooCommerce extensions included in your plan for as long as you host your ecommerce store with us. That’s nearly $6,000 in free premium extensions — at no extra charge — to build a powerful, customized ecommerce store.

1. Brand New WooCommerce Tips

WooCommerce: Stock Quantity in a Shortcode

Let’s build a simple shortcode to display the stock quantity in other sections of the website, that can automatically update the output, so that you never need to worry about changing that piece of content ever again. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Disable Restocking @ Order Cancelled

Here’s a PHP one-liner that can immediately disable this default behavior, so that you can avoid the automatic restocking (and maybe doing it manually based on your business rules). ~ Rodolfo Melogli, Business Bloomer


Cloudways is a managed WooCommerce hosting provider that provides the performance, uptime, and simplicity needed to give your online store the boost it deserves. With Cloudways, you have the freedom to choose from any of the 5 leading IaaS providers, including, DigitalOcean, AWS, Google Cloud, Vultr, and Linode. So, get started with Cloudways today to step above the ordinary and experience relentless online growth.

Breakdance is the new platform for WordPress website creation. With 120 built-in elements, a modern UI and workflow, and deep WooCommerce integration, Breakdance is the ultimate website builder plugin for WordPress.

Over 80,000+ store owners actively use Woosuite plugins for WooCommerce to enhance their user experience and increase the average order value. Some of their popular plugins include Wholesale Suite for WooCommerce, Dynamic pricing, Variation Swatches, and much more.

2. ICYMI: WooCommerce Articles

WooCommerce: Turn Checkout Into a Quote System

There are certainly ways and plugins to turn WooCommerce into a quote engine, but today I want to share a super simple workaround that could be helpful to many. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Hide “Shipping Via ___” @ Thank You Page, View Order Page

Especially when you do a lot of custom shipping, showing the shipping method title may not be a good idea. Honestly, the default “via ___” suffix beside the shipping cost doesn’t make much sense anyway. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Resend Any Order Email

Well, today we will see how to add a “Resend whatever email” function under the “order actions” on the single order edit page. Of course, make sure you switch the billing email to yours, otherwise the customer will get these emails and not you. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Automatically Cancel Orders

The problem is – what if you don’t want to use the “Hold Stock Minutes” thing, and even better, what if you don’t use stock management at all? In that case, orders won’t be marked as cancelled automatically. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Add to Cart Quantity Suffix

In certain cases, it’s nice to specify the unit beside the add to cart quantity, so that customers know how much and what they are buying. So, let’s see how to add an add to cart quantity suffix beside the quantity input field on the single product page. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Redirect Specific Product Search To Custom URL

Now, let’s imagine you have a custom landing page for “Tables”, and you want people searching for “tables” to go to that page instead of the default search result page. Quite easy as well – thanks to a neat PHP snippet we will feature today. ~ Rodolfo Melogli, Business Bloomer

Enjoyed this issue?

Well, congratulations for reading this far – you’re one of a kind! There are many ways you can support WooWeekly and help us spread the word. Thank you in advance!

Share ithttps://wcwkly.com/newsletter-archive/

Invite friendshttps://wcwkly.com

Leave a reviewhttps://www.businessbloomer.com/shop/newsletters/wooweekly-free/

Become a sponsor for as little as $97https://wcwkly.com/sponsors/

Leave a Comment

Proudly supported by

Join them?