WooWeekly #440: Sale Badge, Logout Redirect

Hello there,

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

As I’m developing my new business line (WooCommerce Mini-Plugins), I finally got to talk with my accountant and the amazing good news is that I need to do nothing more than I already do in regard to handling tax. I feel much better now. I’ve now released 2 major plugin updates and 3 new mini-plugins in the last few days and I’m moving super fast. Let’s see how it goes! The 400 mini WooCommerce plugins mark is not that far (1.25% done as of today!).

Anyhow, back to useful WooCommerce stuff now – 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 & Tutorials

WooCommerce: Move Sale Badge Beside Price @ Single Product Page

The single product page template is laid out so that the SALE badge comes first, on its own line, then comes the product title, the product price on its own line, the short description, etc. As you can see, there is lots of white space on the right hand side, so let’s move the SALE badge right beside the price! ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Custom Logout Redirect @ My Account

When you use separate Login and Registration pages, or whenever you have custom landing pages you wish your customers to see instead of the default My Account page, we can set a custom URL by code and safely redirect the just-logged-out customer there. ~ Rodolfo Melogli, Business Bloomer

How to Boost WooCommerce Site Speed & Avoid Slow Queries

If you have noticed your WooCommerce site speed isn’t performing as well as you expected, there is a good chance your customers are noticing too. In this article, we’ll discuss the root causes of slow WooCommerce sites (as well as slow WooCommerce queries) and what you can do to fix them. ~ Nexcess


2. ICYMI: WooCommerce Articles

WooCommerce: Product Description in a Shortcode!

It may be helpful to show the long product description of a given product in a custom WordPress page or post, so that you can use it as a teaser or anyway as a way to save some time instead of rewriting the whole thing. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Disable Orders Table Row Hyperlink @ Admin

What’s annoying sometimes is that the whole row is a clickable link, so if you need to copy and paste some information you will end up actually clicking on it, and being redirected to the single order page. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Change Address Format For a Specific Country

Now, what if you wanted to move the “company” before the customer name, or maybe have “address 1” and “address 2” on the same line, or move “postcode” to the last line? Well, thankfully there is a neat WooCommerce filter called “woocommerce_localisation_address_formats” that allows us to do just that – reformat any address for any country we wish. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Change “Buy Product” Label for External Products

So, here’s a super quick fix to override the “Buy Product” external add to cart button label to whatever you wish, without ever touching the manual settings. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Refresh Checkout Upon Any Input Field Change

In case you add custom checkout fields that may cause a difference in pricing, or you want to keep the checkout UX consistent, or you have some other kinds of logic, it may be useful to refresh the order review section after a change on any checkout field. ~ Rodolfo Melogli, Business Bloomer

WooCommerce: Add Content To Additional Information Tab @ Single Product Page

There are hooks, thankfully, that can help us display additional content in there, either above or below the attributes table. ~ Rodolfo Melogli, Business Bloomer


THANK YOU, BALCONY SPONSORS!

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.

Staggs offers an all-in-one product configurator toolkit for 2D and 3D WooCommerce products, built right into your WordPress dashboard. It’s easy-to-use and easy-to-understand for any type of user. The configurator comes packed with a lot of features, including various Option Groups (such as colors, size, materials, and features), product image generation, live pricing updates and analytics data to capture the most popular product configurations at a glance.


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?