WooWeekly #424: Email Thumbs, Order Admin

Hello there,

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

First of all, happy new year! I completely forgot to write the newsletter last week as I lost track of time during the holidays; what a lovely excuse :D!

This year will finally see me back at work (almost) full time, which means I’ll have time to develop the business and generate more text/video content for you. I will also invest time in partnerships and looking for business helpers (speaking of which, if you’re willing to help in any way, feel free to email me back). My to-do list is super long. I hope to accomplish 1% of what I have in mind – at least.

Anyhow, back to Woo now – enjoy!

Rodolfo


BUT FIRST… THANK YOU, STAGE SPONSOR!

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: Show Product Image @ Emails

With this little trick, you can revert this default behavior and indeed show images beside their product name inside the email order item table. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Item Custom Field @ Edit Order Page

When, as an administrator, you edit an order and are in the Order Items table, you have the chance to edit the item quantity, subtotal and discounted price. What if you also want to have the freedom to display and edit another custom field, so that it is saved inside the order? ~ Rodolfo Melogli, Business Bloomer


THANK YOU, ORCHESTRA SPONSORS!

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.

Doofinder is the intelligent site search that allows your customers to find relevant results quickly and easily. More than 8,000 online stores of all sizes increase their sales by 20% with its technology. It integrates into your store design, also in mobile format, learns from your customers’ behavior and provides you with trend information and product suggestions for your stock. Install it on your WooCommerce store in less than 5 minutes and try it for 30 days for free.


2. ICYMI: WooCommerce Articles

WooCommerce: Get Product Parent Categories

For example, it’s easy to “get the current product’s categories“, but how can we get the “parent product categories” only? In today’s snippet we will see how this can be achieved in 7 lines of PHP ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Disable A Plugin For Customers / Shop Managers

There are a million reasons why this could be helpful. So, let’s see how to actually deactivate a plugin (not disable its scripts – but actually deactivate it) with a handy piece of code ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Bulk Replace Product Inside Existing Orders

It’s a one-off operation that could take hours if it had to be done manually, based on the number of existing orders. With this simple snippet, however, you can edit an unlimited number of orders, and let the code replace ordered items. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Add Custom Meta Box @ Order Admin

So, here’s how we add a new “section” (meta box) to the single order edit page in the WordPress dashboard, and how we display some content in it. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Additional Stock Inventory Location

This amazing workaround will add a second input number in the product settings, redefine stock quantity and status on the frontend by summing up stock 1 + stock 2, and finally decrease stock 1 until it goes to 0, after which it will decrease stock 2. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Additional “Store Address” @ General Settings

In this tutorial, we will add a new “Warehouse Address” section and address fields under the “Store Address” settings, and also see how we can easily retrieve this custom address so that you can display it anywhere. Enjoy! ~ Rodolfo Melogli, Business Bloomer

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


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/


Author

  • Rodolfo Melogli

    Author, WooCommerce expert and WordCamp speaker, Rodolfo has worked as an independent WooCommerce freelancer since 2011. His goal is to help entrepreneurs and developers overcome their WooCommerce nightmares. Rodolfo loves travelling, chasing tennis & soccer balls and, of course, wood fired oven pizza.

Leave a Comment

Proudly supported by

Join them?