Wordpress tips and tricks

Woocommerce hacks

How to Customize Woocommerce Orders page

How to Customize Woocommerce Orders page? (20 hacks)

In this post I’ll show you how to customize Woocommerce orders page with the help of simple code snippets. Now, in order to make this work add your chosen snippets shown to your child theme’s functions.php file or better yet, use a snippet manager like Code Snippets or WpCodeBox (my…

Read More
How to Add a Suffix or Prefix to WooCommerce Product Prices?

How to Add a Suffix or Prefix to WooCommerce Product Prices?

Sometimes you may need to add suffix or prefix to your Woocommerce product prices and if you would like to know how to accomplish that then see those two code snippets here below. Pay attention that all the snippets shown below should be added to your child theme’s functions.php file…

Read More
How to Customize Woocommerce Stock Status? (17 hacks)

How to Customize Woocommerce Stock Status? (17 hacks)

Let’s take a look at how to customize Woocommerce stock status without any fancy plugin. Pay attention that all the snippets shown below should be added to your child theme’s functions.php file or better yet, use a snippet manager like Code Snippets or WpCodeBox (my favorite). If you’re interested, then…

Read More
How to display Woocommerce my account tabs horizontally?

How to display Woocommerce my account tabs horizontally?

By default Woocommerce displays my account page tabs vertically as a sidebar. In this post I’m going to show you how to display Woocommerce my account tabs horizontally. You will need only a couple of lines of CSS code for that. How to display Woocommerce my account tabs horizontally? So,…

Read More
How to Display Woocommerce Payment Methods Conditionally?

How to Display Woocommerce Payment Methods Conditionally? (14 hacks)

In this post I’m going to show you how to display WooCommerce payment methods conditionally. And, best of all – we’re going to do it without any fancy plugin. Video: How to Display Woocommerce Payment Methods Conditionally? Requirements: How to Display Woocommerce Payment Methods Conditionally? In order to make it…

Read More
How to display custom product badges on WooCommerce?

How to Create Custom Product Badges for Woocommerce?

By default Woocommerce has only “Sale” and “Out of stock” badges but what if you need to create custom product badges? For example, automatic product badge for a featured product or “New” badge for products that are newer than 30 days? Or even custom text badges with “Free shipping” or…

Read More
How to filter WooCommerce admin products by on sale?

How to filter WooCommerce admin products by on sale?

Although, Woocommerce allows you to filter your products by category, by product type and by stock status, it doesn’t allow you to filter out on sale products. Therefore, this snippet here below allows you to filter WooCommerce admin products by on sale. Here is the end result. How to filter…

Read More