WooWeekly #457: Swap Product Descriptions | Hide SubCategory Products

Hello there,

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

I’ve been following this 3-day work schedule this summer and I’m pretty happy with it – so much so that I may decide to keep at least one full day to myself, my wife and family during the week this coming winter (Tuesday? Thursday?). Sometimes I feel Saturday and Sunday are rest days only on paper… family, friends, shopping, cooking, driving, etc. but they don’t really allow me to fully recharge. I like the idea of 4-day workweeks, but I’d prefer to take the extra day off in the middle of the week, and not on a Friday (because that would feel just like a longer weekend). Thoughts?

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

Rodolfo Melogli


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: 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

Top WooCommerce Image Size Hacks To Keep Your Website Fast

By Maddy Osman, Nexcess

Store owners need to find a way to optimize product images in a way that speeds up WooCommerce. Some ways to do so involve modifying WooCommerce product image sizes and working with tools and programs to convert and deliver images quickly. Read more

2. ICYMI: WooCommerce Articles

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

WooCommerce: Display “Related Product Categories” @ Single Product Page

In this experiment, we will first calculate the current product’s categories, and then use a WooCommerce shortcode to output them as a grid, right below the related products section. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Get Customer Second Last Order

There is a native, handy way to get a WooCommerce customer’s last order. This time, I want to write some custom code to get the second last order instead. We will indeed reuse most of the above function code and change it slightly. ~ Rodolfo Melogli, Business Bloomer


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/


  • 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.

    View all posts

Leave a Comment

Proudly supported by

Join them?