WooWeekly #455: Checkout Spam | Password Changed Email

Hello there,

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

Last weekend I had yet another spam attack on Business Bloomer (credit card testing – with hundreds of failed orders, fake registrations, 6 successful payments that I had to refund, email sending limits reached, and so on). This tends to happen on a Saturday night, so I’m obviously not in the office and can’t manually stop it. Today’s snippets try to prevent fake orders, and limit the amount of admin emails.

I haven’t done much regarding my WooCommerce Mini-Plugins this week as I was busy with client work, but I’ll try to catch up before the next newsletter issue. I hope to release 2 or 3 new ones soon.

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

4 Best WooCommerce Plugins To Retain Customers

You can stand out from the competition by focusing on customers’ pain points and increasing customer loyalty. If you’re using ecommerce on WordPress, you can benefit from several top-tier plugins to optimize the customer retention strategy. ~ Maddy Osman, Nexcess


2. ICYMI: WooCommerce Articles

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

WooCommerce: Disable Payment Gateway By Product Type

Ever wondered if you could toggle payment gateways based on whether a given “product type” is in the WooCommerce Cart? For example, disable PayPal if there are simple subscription products, or enable Stripe only when there are variable products? ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Anonymize All Users & Orders

Especially when you need to let other people (such as developers) log in to your WooCommerce website, you may want to protect the identity of your customers and your order details. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Get Product / Order Cross-Sells

Getting the list of cross-sells for a WooCommerce product is actually super easy (yes, it’s one line of PHP). But what if you need to “calculate” the list of cross-sells for an entire order, made of different products? ~ Rodolfo Melogli, Business Bloomer

WooCommerce: My Account Registration Anti-Spam Honeypot

Here’s my personal attempt to fight against the WooCommerce My Account Page registration spam, without installing yet another captcha plugin. I’m pretty sure this solution is not perfect, because spam bots are very “smart”, but it can help prevent most fake registrations. ~ 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!

Struggling to find the right words to describe your products? ProductWriter.ai is here to help. Our AI-powered tool uses your product data to generate engaging descriptions in seconds. Say goodbye to spending hours writing copy or hiring a copywriter. With ProductWriter.ai, you can generate product descriptions right within WooCommerce, no extra apps or websites are needed. Try it for free today!

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/


Leave a Comment

Proudly supported by

Join them?