Nicola Mustone

Happiness Lead @ Automattic



  • Remove the Results Count on Shop Pages

    Did you notice that WooCommerce shows the products results count on each shop page? It shows exactly how many products you have in the catalog, and how many are shown on that particular page.

    If you didn’t, go to your Shop page, or any shop category/tag page and look at the top left, you will find it there. It some cases, it might have been moved somewhere else by the theme.

    The products' results count on a WooCommerce Shop page.

    Today we learn how to remove that bit of information, in case you want to.

    (more…)

  • How to Change the Continue Shopping Redirect URL on the Cart

    In the past, we discussed how to change the Return to Shop button URL in the Empty Cart page. Today, we will learn how to change the Continue Shopping button URL on the cart page to redirect wherever you want.

    This button appears when the option Redirect to the cart page after successful addition is selected in WooCommerce > Settings > Products > General > Shop pages > Add to cart behaviour.

    (more…)

  • How to Edit the Out of Stock String Conditionally

    I’ve recently watched The Queen’s Gambit on Netflix and that has awoken in me the will to play some more chess again as an adult and learn more about it, and be fascinated by this beautiful game again. I have always liked chess since I was a child. I can remember spending time playing it with my cousin at home. It was such a hard game back then, I could barely understand the moves.

    So I started looking for chess sets that I could purchase online and I stumbled upon a website from UK which had most of their sets, boards, and pieces, sold out. The Out of Stock string read “Out of Stock because of The Queen’s Gambit”.

    At first, I found that funny. I then explored further the website to find out that some products were priced over 1000 GBP and still out of stock because of the TV show. I find it quite hard to believe that someone who watched the show decided to spend over 1000 GBP for a chess board or some pieces. This gave me the idea to write this article.

    How can you conditionally change the Out of Stock string based on the product price? Let’s find out!

    (more…)

  • What is the v=xxxx String in the URL and How to Remove It

    You might have noticed that the URLs in your site all come with a string at the end of it looking something like ?v=3j123445. What is it and where does it come from?

    If your site uses WooCommerce, that is where it comes from and it is not dangerous at all, it is actually helpful!

    (more…)

  • Reordering Cross-Sells and Up-Sells in WooCommerce

    Cross-sells and Up-sells in WooCommerce are a very powerful tool to give suggestions to your customers. You might know that most people who buy product X will probably need product Y as well, and you want the customer to know that. How do you do it? You use cross-sells and up-sells.

    (more…)

Categories

Newsletter

Receive new articles from this blog directly in your inbox!

No spam guaranteed!

Join 670 other subscribers

About The Author

Hi, I’m Nico! Support Lead at Automattic, championing WordPress.com & WooCommerce. Off-duty, I’m at Elemental Beacon, leading epic D&D adventures. Let’s connect, whether it’s about WordPress or a quest!