It’s yet another mild Wednesday here in Sicily, Italy, Europe, Earth. Who knows who’ll be the first inhabitant of planet Mars… I think they’re working on it and we’ll hear about that soon lol!
Anyhow, welcome back to our WooCommerce Weekly appointment – a series of WooCommerce tutorials put together by yours truly so that you can learn something new.
New WooCommerce Tutorials
WooCommerce: Add a Custom Download File @ My Account
If you sell no downloadable products, the Downloads section of the WooCommerce My Account page will always be empty (in this case, you should completely hide the My Account Download tab). Besides, if you do sell downloadable products but customers never purchased such items, the same will happen.
So, what if you wanted to grant at least a default download file to all your customers? Well, the “woocommerce_customer_get_downloadable_products” WooCommerce filter allows us to add files to the list (empty or non empty) of customer downloadable files. Here’s how it’s done: https://businessbloomer.com/woocommerce-add-a-custom-download-file-my-account/
WooCommerce: How to Calculate Product Prices with Custom Formulas
WooCommerce is a powerful and feature-rich WordPress plugin. But despite the fact it’s got many features, there is always something missing for custom ecommerce businesses.
The problem with “all-you-can-do plugins” is the same as “all-in-one WordPress themes”: the more custom functionalities a piece of software has, the worse its performance gets.
Therefore, there is no need to pack every imaginable functionality into WooCommerce as it is easily expandable with other plugins.
For example, one particular feature is not available in WooCommerce out of the box: the possibility to use math formulas to calculate product prices.
This functionality is crucial for specific industries such as digital printing, custom-sized furniture, curtains, tiles, rollers and so on.
Curious to know how this can be implemented? Read more: https://businessbloomer.com/woocommerce-how-to-calculate-product-prices-with-custom-formulas/
Revised WooCommerce Tutorials
WooCommerce: Display Out of Stock Products (Shortcode)
Let’s see (1) how to create a shortcode and (2) how to take advantage of the existing
WooCommerce shortcode and its “ids” parameter to pass just those product IDs that are out of stock: https://businessbloomer.com/woocommerce-display-stock-products-shortcode/









