Hi! Thank you so much. I did it. But then I realize that customer can't decrease quantity in product page, but can decrease quantity in cart page. Do you know how to fix that? Thank you! You are the best.
@mohammedrimash Жыл бұрын
Thank you so much its worked for me in main cart and products .but its now changing in cart drawer ? how can i edit it? please need a help
@jonasschindler6442 Жыл бұрын
For everone having problems with the "step' value not changing. You have to adjust the file 'theme.js' and how the +/- buttons are working. by default they just add/reduce by 1. you have to change the code so it's considering the step value as well. I am using the Impulse theme, but it should be very similar in others.
@SultanMehmet61 Жыл бұрын
could you paste here the code that you changed it to? Im not super handy when it comes to coding so it would have been very helpful.
@canoPR4 ай бұрын
Thanks for the video, I had coded the same think but i'm new to Shopify and couldn't figure out how to do it in the Cart, you made it easy
@NicNamesMusic2 жыл бұрын
Such a good Video Thank you very much!🔥
@laurabell8903 Жыл бұрын
I think the code has changed...can't change the values now?
@Swaziman0408 ай бұрын
Hi Ed, what a great tutorial! Worked like a charm, thank you very much!! Is there a simple way to edit the code to make it work on certain product variants? Let's say variant A and B do not have an MOQ, but variant C and D do. Do you think this is possible or would this be considered advanced coding as javascript is needed? Thank you in advance and keep up the good work!!!
@goretejalecos5 ай бұрын
Hello, did you find a solution to this problem? If yes, can you share it with me?
@Swaziman0405 ай бұрын
@@goretejalecos hi, I did not find a solution to this problem yet. Right now I have splitted the products with variants that need a moq. Sad cause now there are two of the same products, just with different diameters, one with moq and one without.
@ginaharesco3765 Жыл бұрын
Hi Ed, another terrific video! Just wondering if you have a video on setting Minimum Order Value? I would like to set minimum values using specific parameters such as a customer tag or by collection. Thanks!
@spelean_au Жыл бұрын
Hi Ed, as per normal very helpful and easy to follow. I'm running an older shopify theme on a wholesale only business so it was heavily modified to make it work, and therefore a major to move to 2.0. I was looking for a pointer to update the mini cart that drops down in the theme (when you hover or click on cart icon), as customers can still edit the quantity there and the coding supplied does not seem to impact the order quantities there. I just cannot workout what template file needs to be edited to make the changes. Thanks, Tim
@colorsofmaelle Жыл бұрын
Thank you very much for this!!!
@kevinyang44172 жыл бұрын
Hi Ed, thank you for your help !!! Your video is very great and easy to understand ! It was exactly what i was looking for.
@tdcreates2 жыл бұрын
Thanks so much for the video. Everything works perfectly except the code keeping the cusyomers from manually changing quantity. Is this something you can help with, I'm using simple theme.
@skyebolluyt27147 ай бұрын
You are BRILLIANT. Thank you so so sooo much - I've been searching/trying out sooo many product min apps on the Shopify store and could never find a great solution... until NOW! Seriously thank you thank youuu for this tutorial!!!
@dikladagai9522 Жыл бұрын
Thank you soooo much! This is so helpful!! I have a question: If I want to sell some items as minimum product and some I want to sell as minimum box, can I create both metafields and insert both options in the code and put a value for just one of them? will it not cotradict the command we gave for quantity = 1 when the field is blank?
@trisharayl812910 ай бұрын
Wondering if there is a way to do coding for bulk pricing? 1 to 25 for x amount of $. Up to 50 for x amount and so on. I looked through videos and cant seem to find anything. You do fantastic work of explaining. So easy to learn from you
@Yshral Жыл бұрын
thanks this worked just fine and I was using the studio theme this saved me an extra $19.99 a. month for the multivariable app, blessings
@mirnacherkawe9630 Жыл бұрын
I’m a beginner and it was a bit hard to follow the jumping from one screen to another. I got to the part where I’ve set my box quantity, but after that, I couldn’t find the screens you were on even though my theme is Dawn. The coding part is hard and I have no idea what I’m doing
@mishytopiaАй бұрын
hello ed! thank you for this tutorial. How can i do this in different products with different min/max quantity rules? Should i just do the same coding 3 times (i only have 3 product bundles) or is there something specific i should do
@yenakwon4955 Жыл бұрын
Great video!!! it really helped me a lot!!! Thank you again!
@selmansakar8442 Жыл бұрын
Can you help me I change the minimum quantity but it’s not change
@petercook77982 жыл бұрын
Thanks for this video. Is there a way to use this methodology to create a MOQ for the overall $ value or quantity of products that someone must purchase?
@BihariJiMart Жыл бұрын
i disabled manual input but it is not working on mobile devices
@jeffdashley41162 жыл бұрын
This is great. Really enjoying all of your videos. The Shopify community definitely needed a channel like this focused on theme and liquid coding customizations as opposed to always relying on apps. I was able to use this on another theme and I'm currently working on applying both min/max using variant metafields as well.
@EdCodes2 жыл бұрын
Hey Jeff, thank you for saying that. I was thinking the same when I started this channel - there are so many easy ways to enhance a Shopify store (and redundant apps). So it's great to hear you validate this idea. Let me know if there are any topics you want me to cover!
@metropfertilizers89212 жыл бұрын
Have you figured out how to apply the min/max using variant metafields? I'm trying to apply the box quantity using variants but can't figure it out.
@doravramov3282 Жыл бұрын
@@metropfertilizers8921 @Ed Codes joining the question
@UEBV Жыл бұрын
@@metropfertilizers8921 any updates on how to set min quantity on variants?
@asaadzegzouti8338 Жыл бұрын
@@UEBV hello bro any updates on how to set min quantity on variants?
@chocosecrets9421 Жыл бұрын
Thank you so much for your videos and very good explanations. I was trying to follow the video with no success. I presume it's not compatible with Dawn 8.0. I could define and set the metafields correctly as you explained so well. But the values are being reset back to 1 all the time. Probably because of some js interfering.
@MP-nx9bo Жыл бұрын
hello, i managed to get this working on the updated Dawn 8.0 - it was initially resetting back to 1 when I copied my theme code over but after the 3rd attempt at re-doing it's working as it should so it is compatible :)
@chocosecrets9421 Жыл бұрын
@@MP-nx9bo Hi, Thank you for taking the time to respond. The changes suggested here are not working on variations which is the case with my product and would require changing some js code, but I haven't found a solution for this yet.
@jmg95096 ай бұрын
Can you please do an update on this video? Many things have changed, and for some reason the quantity only shows up for a split second, then resets back to 1 MOQ. Thank you!
@akshi31395 ай бұрын
same happen to me. Brother you got any solution to this please tell?
@jmg95095 ай бұрын
@@akshi3139 Unfortunately no. I just gave up on the MOQ thing and looked for an app (all of which sucked or were expensive). Ended up not bothering with it, but I encourage you to check the apps or if there are any other solutions. Don't take my word for it.
@slimjesper21668 ай бұрын
Hi Ed, I appreciate your videos. But now I really need your help. How do I get the quantity to start at 0 and not 1. I sell by the dozen, and since it starts at 1, the quantity ends up at 13 and not 12 when you do the first jump. Please show me how to correct this somehow
@ikonetextilespersonnalises77712 жыл бұрын
THANK YOU SOOOOO MUCH! Awesome video. Step by step perfectly and clearly explained.
@mcse384 ай бұрын
I am trying to do this but I am using the Impulse theme and can't find where I need to edit the code. Do you know where that might be at ?
@Personaprint Жыл бұрын
Hi Ed! Thank you so much, managed to change it on the product page but the cart quantity keeps resetting to one even when the quantity added to cart from the product page with min quantity is 10. I'm using dawn theme and followed step by step but the if doesn't seem to be working. Could it be a Dawn 10.0.0 thing as I see that there is now a data-cart-quantity line below the value line which your code doesn't have. Help!
@SultanMehmet61 Жыл бұрын
I tried doing everything you said and to a certain point I got it working. I could get the part working where the products with the minimum quantity worked, but the rest of the products where the piece of code should say that they are 1, they are still blank. And the line of code that was supposed to fix that, the ==blank part, is not working for some reason even tho the rest of it does work. Could you pleeease help me fix this? I think it shouldn't be too much trouble for you. Thanks!
@shirbrina Жыл бұрын
Are these instructions compatible with the new Dawn theme? I tried the code and the quantity keeps resetting to 1.
@CGmagicmen7 ай бұрын
Hello the same problem did you find a solution?
@ArsyaUtomo7 ай бұрын
I can't find the cart locatiom for impulse theme
@SimranBharti7 ай бұрын
Thank you so much! This was SO helpful! SERIOUSLY! Keep going and keep growing! 😃😃😃😃
@shirbrina2 жыл бұрын
Great video! My only critique is to enlarge the text for when you are highlighting the code portion because it is hard to read and follow along for a beginner like me. I was not sure whether you included parentheses or brackets.
@EdCodes2 жыл бұрын
This is good feedback, thanks!
@Cadellonline Жыл бұрын
Hi there, is there way to code the price to change as the quantity changes ive used apps but they dont work ?
@MP-nx9bo Жыл бұрын
Thank you! great video as always your channel has become my bible for all things Shopify :) I have set both min & box quantities as needed perfectly but is there a way to change the unit price displayed on the product page to reflect the min/box qty price instead? if I add the box qty price in the inventory it multiples it by the qty amount in the cart, any guidance would be amazing!
@sw0rk713 Жыл бұрын
i cant change my minimum quantity its stuck at 1 and i cant change it
@omarcruz1345 Жыл бұрын
Hello! I followed the video and instructions but when I completed it my quantity box now turned white and the them in my site the background is black. Do you know how to fix that?
@totaltimwe2 жыл бұрын
Hello! Great video! The step atribute it's not working..! and also on the cart..! I'm using the theme Story. can you help me? BR
@sumjot2 жыл бұрын
Hello, this worked great. But when we go to the cart page, over there how do we implement the same? As this is not working in the cart page.
@pnarpirsoderlund81092 жыл бұрын
thank you very much for this great video and clear explanation, even I am using different theme (debut) very smootly made it..
@BennyHozjan Жыл бұрын
exactly what I needed, but there seems to be some compatibility issues with the latest Dawn Theme. It will add +1 item. Lets say there is a box quantity set for 100 - it keeps adding steps 101, 201, 301.... any idea how to solve this?
@Avinashsakariya11 ай бұрын
Similar Issue. Did you find any solution to it?
@BennyHozjan11 ай бұрын
@@Avinashsakariya no sorry - wish @Ed Codes would have replied where the issue might be, as the code in newer Dawn Versions looks different
@yunglio9913Ай бұрын
Add ‘ data-min=“{{in your case this would be a metafield with a value of 100}}”
@jiffyhair43372 жыл бұрын
This is exactly what I have been looking for.. Thank you!
@hectordelac64462 жыл бұрын
Thank you! This video saved my life!
@andreasandersen50502 жыл бұрын
Thanks alot for your help! Rlly clean.
@WeldingEquipmentPlus11 ай бұрын
I am not using Dawn theme but I followed your instructions and it worked until I put the steps code in and the minimum stoped working and I went and watched your bulk editing video and it still won't allow me to put a minimum quantity in. I don't know what I'm doing wrong. If you got any ideas it would be much appreciated. I know with you not seeing my theme back office it will be challenging. Thanks in Advance.
@ERosas-s6t Жыл бұрын
This is a great video indeed. The only trouble I'm having is for the quantity field to reset when you click on another variant of the same product (e.g., clicking on size S, then size M, etc.). Is there any way to do this? I am using the free Taste theme. Thank you in advance.
@sohnitappia82 жыл бұрын
thanks so much for posting! the "step" attribute doesn't seem to be working for us either unfortunately. any tips on what to do?
@EdCodes2 жыл бұрын
Hi, which theme are you using?
@OnlineIndustrialPtyLtd Жыл бұрын
Hello Ed, The codes works for product quantity + cart check quantity, however I have a min-cart which when I applied the code it doesn't work. Is there perhaps anything that needs to be add to the code?
@floridehounkpatin21102 жыл бұрын
when i put the cart code error keep comig. sayig the others line code are wrong so i can't save the change
@floridehounkpatin21102 жыл бұрын
hi can i set up this coding for only one collection? not all the shop
@rorsfan942 жыл бұрын
Thanks Ed! Just curious if you've done this on the prestige them in Shopify? A bit more difficult to edit the code on my end.
@EdCodes2 жыл бұрын
I haven't worked with the newer prestige on Shopify 2.0 unfortunately.
@gavinb59532 жыл бұрын
Exactly what I needed excellent tutorial
@EcomAlfa Жыл бұрын
Broo! Thank you very much for this info!
@vanpelli23 Жыл бұрын
How could I make this with variants? If I define the metafield for variants it´s not work.
@hectordelac6446 Жыл бұрын
Hi Ed, I just bought the Empire template and I just edited the code for the product template but when I tried to edit the cart template I couldn't find the part of the code. Do you know where I can edit it?
@jamalahmed7093 Жыл бұрын
Hi, my product has variables, but l don't want to change each variable to min 6 l only what the total product QTY to be 6 purchased
@rachellongest19812 жыл бұрын
This is great! It was exactly what I was looking for. Is there a way to enable and disable these quantity rules based on customer tags? So if I'm running retail and wholesale on the same site, can I set this minimum quantity so it only operates for tagged wholesale customers but not the retail customers?
@SultanMehmet61 Жыл бұрын
im wondering this as well. did you ever figure it out?
@rachellongest1981 Жыл бұрын
@@SultanMehmet61 Unfortunately, I did not.
@SultanMehmet61 Жыл бұрын
@@rachellongest1981 sucks. guess ill have to search harder.
@user289142 жыл бұрын
Just a quick question bro, how would I use this for boxes that contain a decimal value but I want to sell by the box? Cheers.
@NinoSamparisi2 жыл бұрын
Great Video! Any change to use the metafields to change my quantity picker to decimals? I am selling fabrics starting from 0.5M(starting point) and I want my customers to ad by clicking + always another 0.1M - up to 20.0M not more. Well the team from Carson created such a price measurement calculator for me but since 2.0 came out it does not work the same way. Which means I have to pay them again to do it on 2.0. The question is simply... can those metafields somehow do that for me or do I need coding again?
@ArsyaUtomo11 ай бұрын
O think the code changed, the minimum quantity still one but the boxed one works
@allmamalove2 жыл бұрын
Can this be done on supply theme?
@noahperez96312 жыл бұрын
Price Change Based On Quantity is that possible ?
@MP-nx9bo Жыл бұрын
same query, please let me know if you have managed to figure this one out
@comfychirosupport15442 жыл бұрын
how do you do debutify maximum amount?
@svenuhrmacher2 жыл бұрын
Hey ED, i want to copy this function in my Shopify Account with Local Theme. It doesn`t work. Can you help me? How we can get together?
@Avinashsakariya11 ай бұрын
I'm Stuck. How can I get your help?
@malikasad38122 жыл бұрын
The step attribute is not working with my case. What should I do?
@EdCodes2 жыл бұрын
Hi, can you share your store address? I will take a look.
@CrochetSnippets2 жыл бұрын
i used this method to increment the quantity selector as 0.5,1,1.5 but the price in the cart page shows the same for 0.5 and 1 and then 1.5 and 2, how can i solve this problem, can you please guide me.
@bhartiyashilp2 жыл бұрын
HI me too looking for the same solution. Did you manage to do any workaround?
@malikasad38122 жыл бұрын
I have followed every step but the step attribute is working in my case.
@JP-rq8jh2 жыл бұрын
Our theme is using a dropdown for quantity so this doesn't work :(
@LuisUgarteUSA Жыл бұрын
Hello, I want to offer a free product but maximum 1 quantity or maybe 2, and shipping $6. I did the shipping cost but I do not know how to set up the Offer to get a maximum 1 product, no more. Can you do a video? Tahnsk
@personaltastemusic11 ай бұрын
Still works in 2024! Thank you!
@itapple02 жыл бұрын
Thanks for the tutorial, that's help me a lot ! +1
@saadsaeed12395 ай бұрын
Much Needed Vid.
@eazy2buy17310 ай бұрын
Thank you so much
@floridehounkpatin21102 жыл бұрын
how to find the code in craft theme"
@EdCodes2 жыл бұрын
Hi, craft theme will be exactly the same as Dawn - its the same code.
@raymondfrankarevalo Жыл бұрын
so good!
@awfullawton44702 жыл бұрын
Thanks bro
@EdCodes2 жыл бұрын
Any time
@danielpliszka82204 ай бұрын
Using the trade theme. On the product page, everything works. On the cart page, everything works. But from the catalog page, all values begin at 0 (naturally because there is no "add to cart" button) but cant increase or decrease them. GIves me an error "Values can only be incremented by...." Tried everything. Looked through all the files. It has to be somewhere in card-product.liquid in the quick-add class. Trying to alter the +/- buttons to increase by min_quanitity (metafield) but no luck. Anybody out there that can help?