 Welcome back to the channel. Have you ever tried to have a shop that is basically just a brochure or what you would call a catalog? Now, in most cases, when you install your WooCamas, it comes with the option for you to install and have products, have the prices so that you're able to add two cards, view the card, and then of course proceed to pay. And then you can always check out by payments. Now, in some cases, you don't want to have that whole shop band. You just want to be able to see the product, see a price to eat and not sure to cut because you want your customers to come to your actual shop. So that's what we're going to do. We're going to make catalog or a brochure kind of website. Let's jump into that. Now, there are two ways of doing this. One is by using very few lines of code to make sure that your website is running well. And the other is by using a plugin. So I'm going to show you both ways, but I'm going to start one that shows you with the coding. If you want to jump straight into the plugin, it's okay. You can click in the description. You'll be able to see the link that takes you straight to the plugin. Or you can look in the chapter markers to do that. Now, what we're going to do is we are going to disable this add to cut button. And when we come to the individual pieces, we'll still remove the add to cut button from here. So that's someone is just able to see these items and then they'll be able to see this as a brochure. Now, let's jump into the code. Of course, I'm going to open a new plugin in here so that it will allow me to add my code and I can always turn it on and off by just clicking the activate and deactivate button. We're going to call this plugin techie press catalog. And I'll drag this and drop it in my editor. And then of course, I'll open my first file, which I'll call the techie press catalog PHP, and then hit enter. And we'll get the new file. And first thing we'll do is we'll open up our PHP tags, try it out file. And then I'm going to use my simple start plugin shortcut to help me to get all these details in for our plugin. So I'll add the name, which is techie press catalog, I'll put in the URLs that are going to go to the GitHub location of this plugin. And then I'll add in my name, of course, give it a version. And then of course, license it under GPL two or later. Now, of course, I'll use techie press catalog as the prefix or the text domain in here. And I'll save this. And on saving this, I'll go back to the admin and refresh. And you'll see that we now have techie press catalog, right here. I'll activate this plugin. And of course, it will do nothing in here, because there's no code running at the end of the day. And if I reload my pages here, or my show, you'll see that we still have everything as it was before. Now I'll go back to the code here and add some little security by saying we're going to find out if our app's path is actually defined. So apps path in here, if it's not defined, we're going to just die. Now this will allow us to add basic security to keep hackers away from using this file, unless this file is running from the plugin section itself. So after doing that simple security check, we're going to remove the simple edge to cut button first. And we're going to use code to do that. The first thing we'll do is add an action to our work. And this is going to tap into one particular hook of wukamas, which is wukamas after shop loop item title. So that's what we're going to look for. And we're going to pass in our own function, which I'll call take a price, remove price, we're going to call it remove price of cut button. So this is going to help us remove the price and also the button inside our wukamas. So I'll copy this function here, and then I'll write this function by copying the name and pasting it there. And I'll say whatever we need here is going to happen in here when we reload nothing is yet happening because we've not done anything to our shop yet. So I'll come back in here and I'm going to say, we'll need to pass in the global. And we're going to look for the product, which is an object that's passed by wukamas, generally. And then what we're going to do here is we're going to say remove action. And this remove action is a counter action of having to add an action in your WordPress. So we're going to remove action and what we're going to look for is this very hook that we have here. So I'm just going to copy this and say I'm going to remove the action of the wukamas after shop loop item. And if I want to remove the price or I want to remove the button, I need to use the wukamas templates. And I'm going to look for the loop and then price. Now, once I do this, I'm going to give it a priority of 10. And let's save this. Let's go and see what's happening. So I'll come back here to my shop, reload. You see that the pricing disappears all over our shop. And we do not have any pricing showing up here. Now, if we want to remove the urge to cut button that we do have down here, simply we'll need to duplicate this remove action. And we're going to tap into wukamas after shop item. I'm going to remove the word title here. And what we're going to do here is we're going to look for the wukamas template loop. And we're going to change this word price. And we're going to talk about the add to cut. And that's going to look for the add to cut button that is passed in the loop. And this is usually a template inside our wukamas. So I'll save this come back here, reload. And you're going to see that we no longer have the urge to cut button showing up inside our particular shop. So I think we are on the right track. Now let me go check out these individual items. Now you'll see these individual items have the urge to cut button. They also have the pricing here, which we don't need. So we just want someone to be able to continue reading the different content, the descriptions, want them to see the reviews and so on. But we don't want them to be able to add this to the cat. We want them to still come to our show. Now that requires us to add another function or write in here. So I'm going to go to add action. And in this add action, we're going to look for one particular hook. And that hook is simply wukamas single product summary. I'm going to copy this, add a comma here and paste it. Now I'm going to just modify this so that we don't have a clash in our particular functions by adding take a press single. So that we know we are now working on the single or the individual items. So whenever we click on something, we are working with the single template. Now, after I'll copy this function here, come down and I'll say function. Of course, give its name. And then I'll use the brackets to open up our function right here. We're going to do what previously did and that is remove action in here. And we're simply going to use this wukamas single product summary. So I'll copy this whole string here, paste it in here, add a comma. And we are going to be looking for the wukamas. We need to add the wukamas. Then we're going to add the word templates. And after writing template, we're going to add the word single because we're working with the single. And we're going to choose price. So you will see in here where we had the generic shop, we used wukamas template loop price. But when we're working with the single, we're going to use the wukamas template single price. But before we save that, I'm going to give this a priority of 10. And I'm going to make sure this fires off really early. And I'll give it a priority of one. I'll come back to our shop and reload. And you will see that we have our pricing disappearing from this point right here. Now, I'm going to go back into our code, and I'm going to duplicate this. And we're going to use the product single summary right here. And what we are looking for here is going to be instead of the single price, we're going to look for the single add to cut here. And our changes to a priority of 30, because it fires off a little bit later. I'll save this. I'll come back in here. And then I'll reload. And you will see that we don't have the add to cut button showing up here. Now, of course, catalogs have prices, or they have the image showing, but they never have like you don't have that button to click to buy now. You think of it like a magazine, you have the price, you have the item, or you don't have the price sometimes, but that's the way catalogs work. That's our brochures work. Now, what I'm going to do is just allow my pricing to continue working. So I will remove these particular actions that are removing the price so that we can be able to continue seeing the price and then allow our customers to come to the shop. And then they will be able to make the purchase when they arrive to our physical shop. Now, this is one way of handling it. And that is by using a few lines of code. The way of doing this is by going back inside our WooCommerce, we're going to go into our plugins, and we're going to add a particular plugin. So we click on add new now plugin section. We're going to look for the Yeath WooCommerce catalog mode. And you'll see this plugin that shows up here. I'll click install on it. And if I look at the details, you'll be able to see the screenshots of what's going to happen in the settings and what you're going to have at the end of the installment. So I'll click this installment and then I'll click to activate this. And I'm going to deactivate the catalog, the take a press catalog, so that we have everything working out well. So for now, if I reload, you see you have the price and the add to cut button. And I'm just going to go to the settings of the catalog mode. And I would say for the administrators, please turn off that button, disable the shop, meaning you won't have a cut page, won't have a checkout page. We will not have the add to cut buttons inside the shop. And we shall also have to hide the product variations add to cut button here. So I'll click set settings. And then when I come in here and click reload, you will see that the pricing is still showing up. But we don't have the add to cut button. And when I click on any of the items, there is no add to cut button. I want you to do this for me in the comments section. Let me know which one of these methods you prefer. You want to make your own custom plugin, or do you prefer to use the one that he already provides for you? I know it has quite a number of files in it. If you open this plugin section, you have all these different files just to do that one thing. Or do you prefer to use the custom code that we've made on our own and even take out the pricing? If you like the video, please give it a thumbs up. Consider subscribing to the channel if you find value in the videos that are always put up here. And also in the description, you can find out how you can support the channel and keep me going through. Otherwise, thank you for watching and enjoy your day.