Add the virtual product to Woocommerce ? If you have an e -commerce website related to software or digital products, they are very important.
Therefore, in this article, we will show you all the possible ways to add them. But first of all, let’s take a look at the difference between virtual products and physical products, and understand why virtual products are needed.
Virtual products and physical products
Virtual products include each type of product represented by software in e -commerce store
. They include plug -in, themes, video games, tokens, e -books, and other digital applications. For example, we have a variety of virtual products as plug -ins, such as Instagram dynamic library, telegraph chat, quadmenu, etc.
Generally, users or customers mainly use
to using virtual products. But according to the services they provide, they may have their own integrated systems and may not need any , such as hosting services, website builders and other online tools.
Or, physical products can be called
physical product
]. They can include any types of physical substances, such as digital equipment, kitchen utensils, furniture, clothes, accessories, etc.
The physical product can only be used after delivery to their address. They can also be taken away from the nearest store, but now they are rare. Why add virtual products to Woocommerce?
If you want to sell any type of software products from WordPress website
, virtual products are very important. In fact, this is the only way to sell software to customers through Woocommerce. We all know that if there is no Woocommerce, you will not be able to sell products in WordPress. When it is a virtual product, you need to customize the product in this way so that users can access them for their technical purposes.
Buy virtual products and virtual products from e -commerce storesThe purchase of physical products is completely different. Virtual products will not be delivered to your doorstep, or you cannot pick up goods from any physical store. Instead, whether you need to or not, you can use it immediately after buying virtual products from their website.
Therefore, in order to ensure that everything goes well when buying your software, you need to ensure that the virtual product can be added correctly to your Woocommerce website.
How to add virtual products to Woocommerce?
Woocommerce provides many endotropic options for your e -commerce website. That’s why you can easily add virtual products to Woocommerce from
default product options
.
Before continuing, make sure you have installed and set Woocommerce on the WordPress website. It is best to use one of the topics compatible with Woocommerce to avoid any theme or plug -in conflict.
1. Set a new virtual product First, from your WordPress Turn the instrument board to
Products \u0026 GT; add New
to add new virtual products to your Wooocommerce store. If you want to create virtual products for existing products, open Product \u0026 GT; All products , and then click
Edit
.
Then enter all the necessary details of the new product, such as product title, product pictures, etc. For this demonstration, we added a \”example virtual product\” as our product.
If you want to add more product details and need help, we provide a complete guide to how to add a Woocommerce product. After completion, just roll to the product data part and check the
virtual
option.
Then, add the normal price of the product you want to buy. The sales price is optional, but if you have any continuous sales of the product, you can also add it
That’s it! You have just added a virtual product to your Woocommerce website. But you mustIt must be available for customers to .
2. Configure the product to
Because you sell virtual products, it is clear that your customer needs to it. Therefore, it is necessary to check the option. It is next to the virtual options you checked before.
After setting the product to , you will be able to see some other conventional options of the product. They include able files and restrictions and expirations.
You can add product files to the ed file option. Just click Add file .
Then, you need to add file name and file URL . If you want to create a new file URL, you can click to select the file to upload files simplely .
Some virtual products may need to multiple files. In this case, you only need to click the additional file and repeat the process again.
Next, you must add restrictions. In this tutorial, we add the restriction to 1, because users usually only the product once every time they buy. However, if you want to allow your users to re – unlimitedly, just leave it empty.
However, if you want to add a specific limit instead of once, you can do this.
Finally, you must set the date of the . Calculate the number of days after the linked link is below. If you don’t want to add any expiration, you can leave it empty.
Now, what you have to do is Published or Update Products.
Then, your product can be ed. After the customer has successfully purchased the order, you can the product.
Reward: Delete the checkout field of the virtual product
After adding the virtual product to the Woocommerce website, the user can only it after checkout. But for virtual products, some checkout fields (such as delivery address) are not necessary.
Therefore, it is best to delete these unnecessary
fields to shorten the checkout process [123 ]. This is also very convenient for your users. deleteThe easiest way for these checkout fields is to use plug -ins. Although many checkout plugins allow you to customize the checkout page, we will use
in this tutorial
CHECKOUT Manager suitable for woocommerce.
1. Install and activate the plug -in
From your WordPress instrument board to
plug -in \u0026 gt; add a new plug -in , and search the keyword of the plug -in. After finding, click to install immediately to install the plug -in. After the installation is completed, activation plug -in.
If you want to use its high -end version, you need to upload plug -in and manually install it. Do you check our manual installation of the WordPress plug -in guide to get more information.
2. Delete the checkout field
Now, from your WordPress dashboard to
woocommerce \u0026 gt; set and open checkout tab tab Essence Then, click the \” transport \” tab. You can start deleting the transportation field from this.
Just activate the switch button to disable the \”
disabled
\” column column column Transport field. Since you do not need any transportation details of virtual products, you can disable all fields.
Similarly, if you also want to disable certain fields in the bill details, you can perform this operation from the \”Book\” tab.
Don’t forget
Save change
. Once your client is redeemed to the checkout page, they do not have to add any unnecessary checkout details. When you add the virtual product to the Woocommerce store, this is how you delete the field from the checkout page. Then you can only show the necessary checkout fields to the customer.
You can also use other methods to delete the checkout field. Please read our guidelines to delete the checkout fields in Wooocommerce to get more details.
Skip the shopping cart page in Woocommerce
We have discussed how to add virtual products to your WOOCOMEMRCEshop. In addition, we also provide you with a small tutorial to simplify the checkout process by deleting the checkout field. But in order to help you further shorten the checkout process, you can also skip the shopping cart page.
Today, it is very common to use a mini cart in Woocommerce. The most important thing is that when you buy virtual products, it is not as complicated as a physical product.
In the case of virtual products, the price and number are always unchanged. Therefore, the shopping cart page is a bit unnecessary for virtual products, and it may look like the additional page before the actual checkout page.
Therefore, we can skip the shopping car page for them and make your user directly redirect to the checkout page. To this end, all you have to do is to add a fragment to the theme file of your website. But before that, please back up your website and create a sub -theme by programming or use one of the sub -theme plugins to change the theme files. This ensures that even if you update the WordPress theme, the changes you make will be preserved.
1. Adjust the shopping car behavior options
Before adding the code fragment to your website, you must adjust the behavior of adding to the shopping cart in Woocommerce. Turn to
WooComerce \u0026 GT; Set
and open the product tab. Under the conventional option, you must cancel the following options:
] After the addition is successfully added to the shopping cart page
- Enable AJAX to add AJAX to the shopping cart button
Cancel these options and save them and save After changes, they will not interfere with the function of the code.
2. Add the code fragment to the function.php file
Now, transfer from WordPress instrument board to
appearance \u0026 gt; theme file editor
and open
Functions .php file. At the end of the editor, you only need to add the following code:
add_filter (\u0026#39; add_to_cart_redirect \u0026#39;, \u0026#39; ql_skip_page_page \u0026#39;)l_skip_cart_page () {全球$woocommerce;$redirect_checkout \u003d $woocommerce-\u0026gt;cart-\u0026gt;get_checkout_url();返回$redirect_checkout;}
当客户将产品添加到购物车时,这会将客户直接Reset to the checkout page.
But you can use your own custom text (such Go to the shopping cart \”text and use the following code clips. add_filter(\u0026#39;woocommerce_product_single_add_to_cart_text\u0026#39;, \u0026#39;ql_replace_add_to_cart_button_text\u0026#39;);add_filter(\u0026#39;woocommerce_product_add_to_cart_text\u0026#39;, \u0026#39;ql_replace_add_to_cart_button_text\u0026#39;);// Replace the text of \”Add to the shopping cart\” to \”Buy now\”! Function QL_replace_add_TO_CART_BUTTON_TEXT () {Return __ (\u0026#39; immediately buy! \u0026#39;, \u0026#39; woocommere \u0026#39;);}
update files.
If you are not used to using the code, you can also use the plug -in Direct Checkout for Woocommerce to skip the shopping cart page.
Conclusion
In short, we show you how to create virtual products and add it to Woocommerce in this article. If you want to sell any type of software from your e -commerce website, virtual products are very important.
You can easily create virtual products from the default WOOCOMMERCE option and make it .
But because virtual products are not as complicated as physical products, you can also shorten their checkout process. It can be completed by deleting unnecessary checkout fields and fully skipping the shopping cart page.
Then, you can now create a virtual productAnd let your customers ?Please tell us in the comments.
At the same time, there are some posts you may be interested in here:
How to create a woocommerce page to checkout
Edit Woocommerce checkout field-Step Faculty Guide
- How to add the list of wishes to woocommerce