 But today, I just want to show you how you can actually add an extra cost. Let's say it's a surcharge on a particular cut that you do have. Go back into my Wukamas, remember the plug-in is activated and then I reload this. You're actually going to see that we have a new packaging cost here. Welcome back to the channel. Right now, I've been thinking about how I can use some of the knowledge that I've acquired using e-commerce. And especially Wukamas or Classic Camas in particular. Right now what we are seeing is the dashboard of Classic Camas or Wukamas. And Classic Camas basically is a fork of what Wukamas is today. And it's basically trying to evolve itself into something that will be different. But right now, we are looking at the inside and we can see this is a Wukamas. And we've put our price for our product. We have a number of products that we've put in. But today, I just want to show you how you can actually add an extra cost. Let's say it's a surcharge on a particular cut that you do have. So if we see our shop right now, if I refresh here, we have two products. A blouse and t-shirt and we're going to make an order. And after ordering, we're going to go to view cuts. And when we view the cut, we see our total price. That's okay. Let's proceed to check out. And so we have to fill in all these details. Another bottom here we see that our total, our subtoto is given. We have a chart which is 45 pounds and the subtoto will be 45 pounds. But what I want to actually do is I want to introduce a new cost. Now, maybe our Wukamas is not handing my taxes very well. Maybe amount of the tax system that's put in there. Or I want to just add a surcharge. Maybe it's for packaging, let's say. So what I'm going to do here is I'm actually going to open up my code editor. We're going to do a little bit of coding and customize what our Wukamas is. And I'm going to open up my code editor. And I'm just going to go into my plugins where my website is. And I'm going to do add new cost. Let's call it package cost as a plugin. And we'll prefix it with my initials. And what we'll do is that we'll drag that and then we'll just drop it in here. Call it to our workspace. And then I'll just open a new file which I'll call lab package cost dot php. So essentially what we're doing is we're going to write a new plugin. And I'll just copy and paste what I've used before to make this really quick. So we'll just call this package cost extra fee. Just copy this here and I'll paste it here. So what I'm going to do is I'm going to go back to my plugins and activate that particular plugin. We have it right here. So I'll activate package cost extra fee which is our plugin that we're going to use in our Wukamas. And if we reload at the back here nothing has changed and thing has happened because we've not added anything to it. So what I'm going to do is I'm going to use hooks that are also in Wukamas. Wukamas has adopted what press or what classic kamos does and they have used what we call hooks. So we're going to use an add action to tap into a hook of a Wukamas. And this action is called a Wukamas. It's called Wukamas cut calculate fees. And that's the action that we need to use. And then we're going to write our own function which we shall call let's say lab package cost. So that's our new function and what I'll do here is copy this and then I'll write the function and then I'll just save this. Now the next thing that we're going to do is that we have a global in Wukamas which is called a Wukamas. And this is instantiated the moment you load your Wukamas plug in this global is instantiated. So we're going to use the same global which is our Wukamas and then we're going to tap a chained method on it. So we're going to look at the cut and then we're going to look at the function which is add fee which is the method that we're actually looking for in the classic kamos. So what we're going to do is that we're going to first of all add the little two dashes that we're adding here just for translation. Let's say would like our plugin to be translated. The first argument we have is the name of what our cost will be called. So we'll call it maybe packaging as a cost. And after adding that name what we're going to do is that we're going to also add our what would call our text domain. So I'll just copy this text domain that we had copied before so that we make it translatable. And then we're going to add after adding our name of the package we put a comma then we put a price that we do and so for example five. Now we don't wrap it in we don't wrap it in quotes because it's not a string but rather we want to use a number. So if I save this right here and then go back into my Wukamas remember the plugin is activated and then I reload this. You're actually going to see that we have a new packaging cost here which is five pounds and it automatically adds to our price of 45 to make it 50. This is how we can add small taxes. We can add a couple of things to make this possible. So if you like what's going on here please let me know in the comments. I will be making these every Saturday at least once every week. I'll be showing you a few of those sample snippets that you can add in your Wukamas shop to make it look brighter and look better. I will be sharing this code that I've been working with on GitHub and you can find the code the GitHub code actually on the repo that is listed in the description below. Thank you for watching. Please subscribe to the channel if you're enjoying the content that's here. Or leave a like or even leave a comment saying what you like and what you don't like about the particular video that you've watched. Thank you and goodbye.