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!

Read more

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!

Read more

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.

Read more

With version 3.0.23 of Table Rate Shipping, one little change has been added to the extension. It is small but it can have a big impact on stores. I am talking about how the shipping rates are calculated.

The story of this change goes all the way back to 2015, when the shipping cost was calculated on the item total, which is the adjusted total after any discounts. However, this was not taking into account taxation. Which led to a new change to fix the issue, but also to calculate shipping costs based on the item price.

Read more

I noticed while testing my own blog that the Recent Comments widget in the footer of this site has a nofollow attribute for all the authors’ links. It makes sense to have this, but at the same time I didn’t want the nofollow on my own comments.

Here is how I removed it.

Read more