WooWeekly #458: Dynamic Email Recipient | Variation Sales Counter

Hello there,

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

Not a good week for me, with my father-in-law who is not doing very well and is in hospital. Fingers crossed, prayers, positive thoughts, or whatever you prefer, are very welcome. Hope to have better news next week!

Anyhow, here are this week’s WooCommerce tips – enjoy.

Rodolfo Melogli


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. WooCommerce Tips & Snippets

WooCommerce: “New Order” Email Recipient Based on Billing Country

By Rodolfo Melogli, Business Bloomer

The amazing thing about WooCommerce is that you can override any setting with a few lines of code. In today’s example we will try to code a solution where the “New Order” WooCommerce email will be delivered to a custom recipient based on the billing country. Read more

WooCommerce: Count Variation Sales (Shortcode)

By Rodolfo Melogli, Business Bloomer

This will require we either query the orders that contain such variation ID, and then calculate the sum – or that we install a snippet on day 0 so that we can count variation sales from that moment onwards, without having to query and calculate anything. We will study the latter, and then display the result via a shortcode, so that you can use it anywhere, even inside the variation description. Read more

Optimizing WooCommerce Category Pages

By Maddy Osman, Nexcess

Looking for an easy way to increase sales and improve customer experience for your ecommerce store? Want to make an impactful change for your online store that doesn’t require being able to code? Optimizing your WooCommerce category pages can help you do just that! Read more


2. ICYMI: WooCommerce Articles

WooCommerce: Display Long Description Instead Of Short One @ Single Product Page

By Rodolfo Melogli, Business Bloomer

Now, what if you don’t use the “Short description” in your WooCommerce store, and you wish to display the “Long description” on the right hand side of the featured image instead? Well, here’s a simple snippet for you. Read more

WooCommerce: Hide SubCategory Products On Product Category Pages

By Rodolfo Melogli, Business Bloomer

You’d think that this was a core WooCommerce setting – it’s not. In fact, from the WordPress “Customizer“, you can set the product category page display to “Show products” only, “Show subcategories” only, or “Show subcategories and products” (see screenshot below). But these 3 options, in my opinion, could and should do much better. Read more

WooCommerce: Limit Daily Sales For Cheap Products (Anti-Spam)

Today, I’d like to share another anti-spam snippet that I’m currently testing on Business Bloomer. Most carding attacks, in fact, end up with the purchase of a single product in the $1-$9 range – which means that limiting the daily sales for specific, inexpensive, products may do the trick. Read more ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Delete Customer After a Failed (Spam) Order

In today’s “episode” I will try to clean the WordPress User database table after a failed order, because I’m really angry when “17PmU3MmKZS9ZAy7 17PmU3MmKZS9ZAy7” manages to register an account on Business Bloomer after a carding attack! Read more ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Checkout Anti-Spam Honeypot

Here’s my second attempt to fight against WooCommerce spam, without installing a captcha plugin. A few posts ago I covered the My Account user registration spam, so today I want to tackle the WooCommerce Checkout, and try to “trick” spam bots. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Disable “Password Changed” Administrator Emails

The “Password Changed” email is – actually – a WordPress core notification. It goes to admins when a WordPress user changes their password, and the email body says something along the lines of “Password changed for user: XYZ“. WooCommerce provides us developers with a handy filter, that we can use for this exact reason. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Add to Cart Form @ Shop Page

Today I’d like to experiment a little, and see what happens when we include the “add to cart template” (i.e. the one you see on the WooCommerce Single Product page) under each product on the WooCommerce Shop page. ~ Rodolfo Melogli, Business Bloomer


THANK YOU, BALCONY SPONSORS!

Optimize the SEO of your WordPress site with SEOPress: titles and metas, xml & html sitemaps, social sharing, Analytics, Local SEO, WooCommerce SEO, automatic and manual schemas, Google News, Video sitemap, Search Console integration and so much more. Fully integrated with all page builders thanks to our Universal SEO metabox and now with AI for maximum productivity. Super easy to use, no coding required, white label, no ads. Already 300,000 active installations. Start ranking now!

Nexcess Managed WooCommerce hosting is fast, easy-to-use, and includes built-in performance tools like extra PHP workers and a global CDN, which means their hosting is fully optimized for selling online. Nexcess offers free migrations, a 30 day money-back guarantee, and helpful support from WooCommerce experts 24/7/365. They are even officially recommended by WooCommerce! If you’re a serious WooCommerce store owner who needs to sell without limits, get started today by visiting Nexcess.


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?