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.
Today we learn how to remove that bit of information, in case you want to.
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.
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!
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!
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.
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!
Manage Cookie Consent
We use technologies like cookies to store and/or access device information. We do this to improve browsing experience and to show (non-) personalized ads. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.