7 days of unlimited WordPress themes, plugins & graphics - for free!* Unlimited asset downloads! Start 7-Day Free Trial
FREELessons: 15Length: 1.5 hours

Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

4.2 How to Add a Gift Message Using an Extension

Hello and welcome back to this Tuts+ course of getting started with WooCommerce. We've now set up our store and added some products to it, but now I want to add some extra functionality. Because one of the things that I will be selling is signed copies of books, I want to add a field where people can request an inscription. So when I sign the book, I can also write something to them. Now WooCommerce doesn't allow for that out of the box, so I'm gonna need to install an add on. And I'm gonna install this WooCommerce product add-ons plugin from Code Canyon. So this gives you access to a whole bunch of different add-ons for products, including text fields, but it also lets you add more variable aspects of your products. It lets you add images for those, it lets you add check boxes, radio buttons, all sorts of things, but what I'm after is those text boxes. So I'm gonna buy this plugin, I'm gonna download it, and then I'm gonna upload it to my site. And then we'll start adding those custom fields. So I'm now back on my site, and I'm gonna upload and install that plugin. So I'll go to Plugins > Add New and then I'm gonna upload the zip file that I downloaded from the Code Canyon website. So there's the zip file, I'll open that, I'll install it. And again, because I'm working in a multi site network, I'm having to install this in my multi site installation. And then I'll go back to this site and I'll activate the plugin there. If you're using a standard site, you'd install it and activate it in the same place. So here it is, WooCommerce Product Add-ons, I'll activate that. So now I can create product addons via this Product Addon menu. So I click on Add New to add a new rule. I'm gonna give it a name, Dedication. And the price of the option will go with the product price but it's gonna be free and I will enable it. Now, if I wanted to, I could just apply that to specific products or specific categories. But I don't want to, I want to apply to all the products in my store. So I will click Add New Option, and then I get to select what type of option it is. So I want the text area, I don't want it to be required. And there's no conditional logic. Price is 0. And I'm gonna make it ultra clear and then I'll save the rule. So let's take a look at the Applied to and I'm gonna add it to all the categories. So that's quicker than adding it to all the products. So now let's take a look back at this product and refresh. So if you want to buy that, you have to add the dedication here. And then, here we have the dedication, so now let's view the cart. And here it says what that dedication is and we've got the cost of the book, the shipping of flat rate, which we've already calculated. And then we can go to the check out and make that purchase. So now when I receive that order, I will get a note of the shop owner of what that person has asked for as the dedication in the book. So I can then sign it before I send it out and I can write what they want me to in it. So that's how you add the WooCommerce product add-ons plugin into your store and use it to create additional fields for use in the checkout process. In the next part of the course, we're going to wrap up by summarizing what you've learned as you've worked through this course. See you next time and thanks for watching.

Back to the top