How to Change Shop Page URL in WooCommerce Quickly

Change WooCommerce Shop Page URL

In WooCommerce you may want to change shop page URL from the default /shop/ to a custom URL. In this post, I want to share with you a quick tip on how to change the shop URL using the settings on the WooCommerce plugin or using a filter that you can add to your functions.php theme file. Adding the filter is a good option for WooCommerce theme developer or WordPress developer who wants to change shop URL without doing it on the settings. I will …

Read more

How to Move WooCommerce Checkout Field

WooCommerce, just like WordPress, has a lot of great actions and filters. For you to understand this tutorial well, you need to learn more about WooCommerce checkout hooks. When working with filters, you can only change the functions.php file. However, I recommend that you add them to your child theme’s functions.php file so that your changes are not lost during an update. Sorting Fields within a Group It is worth mentioning that fields are separated into four groups: Billing – Billing Address Name Priority billing_first_name …

Read more

How to Add Subcategories WooCommerce

Add Subcategories in WooCommerce

Are you looking for a quick way to add product subcategories in your WooCommerce store? It is important to organize products into different categories and tags. You can even create subcategories for further organization. This will allow your customers to easily find the products they are looking for in your store. Right out of the box, WooCommerce gives you a few options as to what you can display on your archive pages such as products, categories, or subcategories, or both products and categories. If you …

Read more

WooCommerce Get Total Spent By Customer

WooCommerce Get Total Spent By Customer

Do you want to get the total spent by a customer and offer them a discount? Then read on, as this post aims to provide you with a custom code snippet to help you get the total amount spent and give them a special offer or display a banner. WooCommerce powers many online stores today because it is flexible to customization. It is very easy to add your own functionality using extensions or custom code snippets. One way of enticing customers in your store is …

Read more

How to Temporarily Disable Checkout In WooCommerce

WooCommerce Move Checkout Field

There are many scenarios where online store owners might need to temporarily disable the WooCommerce checkout. For example, around the holiday season, due to a staff shortage, or simply because the products they sell are not available or on backorder. WooCommerce Temporarily Disable Checkout If this happens, it is a good idea to have a simple way to temporarily deactivate WooCommerce. You can also notify your customers when you will open up again. In this tutorial, I will show you to disable the checkout without …

Read more

How to Edit WooCommerce Checkout Page Template

WooCommerce Edit Checkout Page Template

Customizing the checkout page is very important, as this is the page where customers will have to trust you the most. When customers are on this page, they always wonder if you can ship the package quickly, if they need your product, and if you are going to take their money. However, WooCommerce has many solutions you can use to customize your checkout page. In this article, I will show you how you can edit the checkout page template. It is important to learn about …

Read more

How to Add Select Field to Checkout WooCommerce

WooCommerce Add Select Field to Checkout

Do you want to add a custom select box on the checkout page? If yes, you are in the right place. WooCommerce Add Select Field to Checkout This post describes the process of adding a WooCommerce custom select box to your checkout page. Additionally, we will ensure that the data is stored correctly in the database. You will also learn how to add the information from the select box on the order details page and order emails. Please add the code snippets in the functions.php …

Read more

WooCommerce Redirect Users After Registration by Roles

WooCommerce Redirect Users After Registration by WP User Roles

Recently I undertook a WordPress development project that needed registration of custom user role using the default WooCommerce account. After review, the client made a request that we should separate the custom user roles redirection after the respective user registers on the site. So we needed WooCommerce redirect hook for every user based on their role. Ideally, the first user would be the customer and the other user would be a member who did not need to make a payment before accessing restricted content. To …

Read more

How to Add Checkout Phone Number Validation WooCommerce

WooCommerce Checkout Phone Number Validation

The WooCommerce checkout process is the last step to completing an order. However, fraudulent customers might make fake orders on your online store. They might use invalid phone numbers, and WooCommerce, by default, does not have a built-in option to validate the Phone number field on the checkout page. WooCommerce Checkout Phone Number Validation Additionally, sorting through fake or invalid leads can be time-consuming. To overcome this problem, you need to force validate the WooCommerce checkout process to limit the phone number field to have …

Read more

How to Add WooCommerce Login With Phone Number

Add WooCommerce Login With Phone Number

Are you looking for a way to allows users in your WooCommerce store to log in with their phone numbers? This post aims to provide you with a solution for your site. To improve the user experience on your site, you may want to allow shoppers to log into their accounts with their phone numbers. However, by default, WooCommerce allows users to log in with their username and a password. It is worth mentioning that you need some coding skills before you proceed. You should …

Read more