welcome back graduate so today i'm gonna,be teaching you how to add this blue bar,right here and you're probably like oh,cool a blue bar awesome what does it do,well what it does it gives people a,clear indication on,how many items are left in your,inventory and it kind of it well not,kind of it actually does it adds a sense,of urgency it's like currently we only,have 20 items in star,in stock in stock in stock act fast buy,now you know um you know so people think,oh my god i finally found this product,but holy crap there's only 20 items left,i gotta i gotta you know purchase this,fast and we got the shaky at the cart,thing going on too which you can check,this video here if you want to learn how,to add that to your store because,it helps it does every little thing,helps every little tidbit thing that you,add to your store it's going to help you,it's going to help improve conversion,rates it's going to make you more money,and you're going to be thanking me later,you're going to be like wow glenn you,are the man like you and ecom graduates,i don't what would i do without you i,know i know you would,um so anyways,let's get let's get right to it i'm,stuttering over my words as always but,you know you keep coming back for this,amazing content so we keep delivering,and while you're at it smash the,subscribe button and the like button too,because it helps it really does you know,all these big youtubers are like hey the,algorithm i think it does you know but,we'll find out once you actually hit the,button i'm waiting,i'm waiting click the button come on do,it,alright thanks thank you so much three,two one here we go,so when you get the snippet you're gonna,be you're gonna have a folder stock,indicator you're gonna have an html file,we're just gonna open this up ignore,these videos uh because what we do is we,add these videos in after we upload so,you'll see a how-to video on here and,then like a next video ignore this,section um and then the next part is,that the actual code so you're gonna,when we get to that that part you'll uh,yeah we'll give you the code,so anyways what we're gonna do is going,to go to the first step is go to our,snippets but the first and foremost,we've got to go click on online store,because you're in your admin dashboard,and click on the theme that you want to,edit we're going to use dawn no stock,you want to know why because it doesn't,have this feature yet,but we're going to add it,so we'll click on preview and we're also,going to click on edit code,awesome,now we just need to go back to our,readme file and we're going to go to our,snippets folder and we're going to,create a file called eg stock indicator,bar,you'll see you're going to click on,snippets and click on add snippet and,we're going to go back and paste this in,great snippet awesome cool sorry and my,own freaking tutorials i don't even know,how to do it all right so now we're,gonna do is um we have to also have to,actually add the code to the file so,what we're gonna do is we're going to go,here click on this rtf file right here,and we're going to copy all this ctrl c,close out of this,and now we're going to go to,theme.liquid,just like it says here,layout theme.liquid we're going to look,for the footer so it's ctrl c,and let's go and find footer,so in order to get that little search,bar you just do command f or control f,if you're on windows and we found it we,found the bar oh my god we did it we did,it did it guys,all right render,now we gotta render the file make it,visible make it viewable we're gonna put,it underneath the footer like it says,you know add the following code just,below it,and i like to add it at the at the very,end here and let's just fix this,formatting because just,fix that let's fix that there we go all,right hit save,and then we did it we're hitting save so,now,add the tag stock indicator bar for the,products that you want to show so we,want so you got to add this tag,right,and what we're going to do is we're,going to go into our products we're,going to go and view our products and,see which product we want it to show for,so there's no stock indicator bar,anywhere on here right,so now what we're going to do is we're,going to go and find cold brew bottle,or our product called,cold brew bottle i can't talk why are,you watching me i can't talk,all right so now there's no indicator,bar here right so we're going to add,that,and now for inventories um you don't,want what you don't want to do and i'm,trying to find this setting here,somewhere,is you don't want you want to uncheck uh,the,inventories the track inventory option,like like basically what i'm saying is,you want to um not have it continue to,sell when it runs out of inventory right,so what you want to do is if you have,variants you want to select all of these,open bulk editor,then what you need to do is you got to,go to your columns here right and enable,this continue selling with went out of,stock now,this is annoying but you have to i think,actually i think we can drag this,yeah we can there we go shopify being,intuitive and stuff wow,thanks shopify all right so we're going,to scroll scroll scroll scroll keep,scrolling,you don't want to sell it you don't want,to keep selling it when it's out of,stock that's bad hit save,so while that's saving because shopify,likes to take forever,edit the settings at the top of the,snippet to your own preferences so,inside of the file itself there are some,code snippet settings,um in here,that's where are you,i add the snippet i thought i did there,we go so there's some settings here,different messages that you can edit,unfortunately this item is sold out only,count are left so you know you kind of,get the idea if you if you have any,questions on how to get this to work and,everything just let me know we'll you,know in the comments below we'll we'll,respond to you we're very you know we,very responsive with our viewers because,we want you guys to you know do well,we care about you,um so that is all set let's see let's,refresh here we go 450 items are left in,stock,unfortunately this item is sold out,unfortunately this item is also sold out,and so is this one oh no it's not okay,there you go you can see that it works,it works quite well,smash that like button and hit the,subscribe button because i noticed a lot,of you guys aren't actually subscribed,you're just kind of coming here and,watching us,just that's it i mean it's nice i like,you watching me but i really want you to,click that button like click it,now,do it now,no like right now,yes i'm talking to you click the button,thank you,see you later until next time
Congratulation! You bave finally finished reading not showing out of stock shopify and believe you bave enougb understending not showing out of stock shopify
Come on and read the rest of the article!