Wholesale Quantities In Shopify - Minimum Or Box Quantity - No App

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ต.ค. 2024

ความคิดเห็น • 109

  • @canoPR
    @canoPR หลายเดือนก่อน

    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

  • @ginaharesco3765
    @ginaharesco3765 ปีที่แล้ว +1

    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!

  • @jeffdashley4116
    @jeffdashley4116 2 ปีที่แล้ว

    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.

    • @EdCodes
      @EdCodes  2 ปีที่แล้ว

      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!

    • @metropfertilizers8921
      @metropfertilizers8921 2 ปีที่แล้ว

      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
      @doravramov3282 ปีที่แล้ว

      @@metropfertilizers8921 ​ @Ed Codes joining the question

    • @UEBV
      @UEBV ปีที่แล้ว +1

      @@metropfertilizers8921 any updates on how to set min quantity on variants?

    • @asaadzegzouti8338
      @asaadzegzouti8338 ปีที่แล้ว +1

      @@UEBV hello bro any updates on how to set min quantity on variants?

  • @SimranBharti
    @SimranBharti 4 หลายเดือนก่อน

    Thank you so much! This was SO helpful! SERIOUSLY! Keep going and keep growing! 😃😃😃😃

  • @ArtaBuknīte-s4e
    @ArtaBuknīte-s4e ปีที่แล้ว +3

    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.

  • @kevinyang4417
    @kevinyang4417 ปีที่แล้ว +1

    Hi Ed, thank you for your help !!! Your video is very great and easy to understand ! It was exactly what i was looking for.

  • @jonasschindler6442
    @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
      @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.

  • @skyebolluyt2714
    @skyebolluyt2714 5 หลายเดือนก่อน +1

    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!!!

  • @Yshral
    @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

  • @dikladagai9522
    @dikladagai9522 ปีที่แล้ว +1

    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?

  • @tdcreates
    @tdcreates 2 ปีที่แล้ว +1

    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.

  • @jiffyhair4337
    @jiffyhair4337 2 ปีที่แล้ว

    This is exactly what I have been looking for.. Thank you!

  • @Swaziman040
    @Swaziman040 6 หลายเดือนก่อน +1

    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!!!

    • @goretesagioratto4270
      @goretesagioratto4270 2 หลายเดือนก่อน

      Hello, did you find a solution to this problem? If yes, can you share it with me?

    • @Swaziman040
      @Swaziman040 2 หลายเดือนก่อน

      @@goretesagioratto4270 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.

  • @spelean_au
    @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

  • @shirbrina
    @shirbrina 2 ปีที่แล้ว

    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.

    • @EdCodes
      @EdCodes  2 ปีที่แล้ว

      This is good feedback, thanks!

  • @ikonetextilespersonnalises7771
    @ikonetextilespersonnalises7771 2 ปีที่แล้ว

    THANK YOU SOOOOO MUCH! Awesome video. Step by step perfectly and clearly explained.

  • @petercook7798
    @petercook7798 2 ปีที่แล้ว +1

    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?

  • @trisharayl8129
    @trisharayl8129 7 หลายเดือนก่อน

    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

  • @NinoSamparisi
    @NinoSamparisi 2 ปีที่แล้ว

    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?

  • @MP-nx9bo
    @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!

  • @rorsfan94
    @rorsfan94 2 ปีที่แล้ว

    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.

    • @EdCodes
      @EdCodes  2 ปีที่แล้ว

      I haven't worked with the newer prestige on Shopify 2.0 unfortunately.

  • @laurabell8903
    @laurabell8903 11 หลายเดือนก่อน +1

    I think the code has changed...can't change the values now?

  • @EcomAlfa
    @EcomAlfa 11 หลายเดือนก่อน

    Broo! Thank you very much for this info!

  • @goodjuiceclub
    @goodjuiceclub 2 ปีที่แล้ว

    Hey Ed, thanks for your super helpful videos! The content is great, and your calm delivery makes it all easy to take in. The "step" aspect of your tutorial doesn't seem to work with my theme--I use pipeline by groupthought. How might I adjust?
    The onkeydown="return false" code is super helpful. How might one incorporate code that would make onkeydown="return false" conditional on the existence of a minimum_qty value, so non-box items can be manually typed? Thanks in advance!

    • @EdCodes
      @EdCodes  2 ปีที่แล้ว

      Hey, thanks for the support! Regarding step I'm afraid I can't really tell you without getting my hands on it and experimenting with the code. Maybe just check one thing - the input type is number and not text, right?
      As for onkeydown="false" - you could just wrap that line in an if statement, like I show around 10:30, but use != blank (does not equal blank) to check that min quantity exists. Alternatively wrap the whole input in an if statement with an else containing the unmodified code, so that products without the metafield get the regular unmodified input.

    • @goodjuiceclub
      @goodjuiceclub 2 ปีที่แล้ว

      @@EdCodes Thanks for getting back to me so fast! I suppose every theme has their own syntax for "step"--I'll ask the developer.
      While it works onn its own, when I wrap onkeydown in an if statement, I get: "Liquid syntax error: Unknown tag 'onkeydown'". Does this happen for you or is there a workaround? Using the else method, is there a way I could wrap the whole input in a single else statement using both min_quantity and box_quantity metafields simultaneously?

    • @camilalabbe3428
      @camilalabbe3428 ปีที่แล้ว

      Hi! It happens the same to me, I use theme turbo portland, can u help me? Thank You!!

  • @sumjot
    @sumjot 2 ปีที่แล้ว

    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.

  • @hectordelac6446
    @hectordelac6446 2 ปีที่แล้ว

    Thank you! This video saved my life!

  • @NicNamesMusic
    @NicNamesMusic 2 ปีที่แล้ว +1

    Such a good Video Thank you very much!🔥

  • @yenakwon4955
    @yenakwon4955 ปีที่แล้ว

    Great video!!! it really helped me a lot!!! Thank you again!

    • @selmansakar8442
      @selmansakar8442 ปีที่แล้ว

      Can you help me
      I change the minimum quantity but it’s not change

  • @pnarpirsoderlund8109
    @pnarpirsoderlund8109 ปีที่แล้ว

    thank you very much for this great video and clear explanation, even I am using different theme (debut) very smootly made it..

  • @ArsyaUtomo
    @ArsyaUtomo 8 หลายเดือนก่อน

    O think the code changed, the minimum quantity still one but the boxed one works

  • @mirnacherkawe9630
    @mirnacherkawe9630 11 หลายเดือนก่อน

    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

  • @gavinb5953
    @gavinb5953 2 ปีที่แล้ว

    Exactly what I needed excellent tutorial

  • @andreasandersen5050
    @andreasandersen5050 2 ปีที่แล้ว

    Thanks alot for your help! Rlly clean.

  • @saadsaeed1239
    @saadsaeed1239 2 หลายเดือนก่อน

    Much Needed Vid.

  • @amaarali6443
    @amaarali6443 2 ปีที่แล้ว

    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.

  • @rachellongest1981
    @rachellongest1981 2 ปีที่แล้ว

    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
      @SultanMehmet61 ปีที่แล้ว

      im wondering this as well. did you ever figure it out?

    • @rachellongest1981
      @rachellongest1981 ปีที่แล้ว

      @@SultanMehmet61 Unfortunately, I did not.

    • @SultanMehmet61
      @SultanMehmet61 ปีที่แล้ว

      @@rachellongest1981 sucks. guess ill have to search harder.

  • @ERosas-s6t
    @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.

  • @slimjesper2166
    @slimjesper2166 5 หลายเดือนก่อน

    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

  • @WeldingEquipmentPlus
    @WeldingEquipmentPlus 8 หลายเดือนก่อน

    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.

  • @jmg9509
    @jmg9509 3 หลายเดือนก่อน +1

    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!

    • @akshi3139
      @akshi3139 2 หลายเดือนก่อน

      same happen to me. Brother you got any solution to this please tell?

    • @jmg9509
      @jmg9509 2 หลายเดือนก่อน

      @@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.

  •  ปีที่แล้ว

    Thank you very much for this!!!

  • @vanpelli23
    @vanpelli23 ปีที่แล้ว

    How could I make this with variants? If I define the metafield for variants it´s not work.

  • @mcse38
    @mcse38 2 หลายเดือนก่อน

    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 ?

  • @mohammedrimash
    @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

  • @totaltimwe
    @totaltimwe 2 ปีที่แล้ว

    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

  • @SultanMehmet61
    @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!

  • @itapple0
    @itapple0 2 ปีที่แล้ว

    Thanks for the tutorial, that's help me a lot ! +1

  • @Personaprint
    @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!

  • @omarcruz1345
    @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?

  • @sohnitappia8
    @sohnitappia8 2 ปีที่แล้ว

    thanks so much for posting! the "step" attribute doesn't seem to be working for us either unfortunately. any tips on what to do?

    • @EdCodes
      @EdCodes  2 ปีที่แล้ว

      Hi, which theme are you using?

  • @OnlineIndustrialPtyLtd
    @OnlineIndustrialPtyLtd 11 หลายเดือนก่อน

    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?

  • @chocosecrets9421
    @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
      @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
      @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.

  • @hectordelac6446
    @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?

  • @svenuhrmacher
    @svenuhrmacher ปีที่แล้ว

    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?

  • @floridehounkpatin2110
    @floridehounkpatin2110 2 ปีที่แล้ว

    when i put the cart code error keep comig. sayig the others line code are wrong so i can't save the change

  • @jamalahmed7093
    @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

  • @Cadellonline
    @Cadellonline ปีที่แล้ว

    Hi there, is there way to code the price to change as the quantity changes ive used apps but they dont work ?

  • @shirbrina
    @shirbrina ปีที่แล้ว +1

    Are these instructions compatible with the new Dawn theme? I tried the code and the quantity keeps resetting to 1.

    • @CGmagicmen
      @CGmagicmen 4 หลายเดือนก่อน

      Hello
      the same problem did you find a solution?

  • @ArsyaUtomo
    @ArsyaUtomo 5 หลายเดือนก่อน

    I can't find the cart locatiom for impulse theme

  • @sw0rk713
    @sw0rk713 ปีที่แล้ว

    i cant change my minimum quantity its stuck at 1 and i cant change it

  • @LuisUgarteUSA
    @LuisUgarteUSA 9 หลายเดือนก่อน

    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

  • @floridehounkpatin2110
    @floridehounkpatin2110 2 ปีที่แล้ว

    hi can i set up this coding for only one collection? not all the shop

  • @malikasad3812
    @malikasad3812 2 ปีที่แล้ว

    I have followed every step but the step attribute is working in my case.

  • @Avinashsakariya
    @Avinashsakariya 8 หลายเดือนก่อน

    I'm Stuck. How can I get your help?

  • @BennyHozjan
    @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?

    • @Avinashsakariya
      @Avinashsakariya 8 หลายเดือนก่อน

      Similar Issue. Did you find any solution to it?

    • @BennyHozjan
      @BennyHozjan 8 หลายเดือนก่อน

      @@Avinashsakariya no sorry - wish @Ed Codes would have replied where the issue might be, as the code in newer Dawn Versions looks different

  • @personaltastemusic
    @personaltastemusic 8 หลายเดือนก่อน

    Still works in 2024! Thank you!

  • @BihariJiMart
    @BihariJiMart ปีที่แล้ว

    i disabled manual input but it is not working on mobile devices

  • @raymondfrankarevalo
    @raymondfrankarevalo ปีที่แล้ว

    so good!

  • @allmamalove
    @allmamalove 2 ปีที่แล้ว

    Can this be done on supply theme?

  • @JP-rq8jh
    @JP-rq8jh 2 ปีที่แล้ว

    Our theme is using a dropdown for quantity so this doesn't work :(

  • @noahperez9631
    @noahperez9631 2 ปีที่แล้ว +1

    Price Change Based On Quantity is that possible ?

    • @MP-nx9bo
      @MP-nx9bo ปีที่แล้ว

      same query, please let me know if you have managed to figure this one out

  • @CrochetSnippets
    @CrochetSnippets 2 ปีที่แล้ว

    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.

    • @bhartiyashilp
      @bhartiyashilp 2 ปีที่แล้ว

      HI me too looking for the same solution. Did you manage to do any workaround?

  • @eazy2buy173
    @eazy2buy173 7 หลายเดือนก่อน

    Thank you so much

  • @comfychirosupport1544
    @comfychirosupport1544 2 ปีที่แล้ว

    how do you do debutify maximum amount?

  • @malikasad3812
    @malikasad3812 2 ปีที่แล้ว

    The step attribute is not working with my case. What should I do?

    • @EdCodes
      @EdCodes  2 ปีที่แล้ว

      Hi, can you share your store address? I will take a look.

  • @awfullawton4470
    @awfullawton4470 2 ปีที่แล้ว

    Thanks bro

    • @EdCodes
      @EdCodes  2 ปีที่แล้ว

      Any time

  • @floridehounkpatin2110
    @floridehounkpatin2110 2 ปีที่แล้ว

    how to find the code in craft theme"

    • @EdCodes
      @EdCodes  2 ปีที่แล้ว

      Hi, craft theme will be exactly the same as Dawn - its the same code.

  • @danielpliszka8220
    @danielpliszka8220 2 หลายเดือนก่อน

    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?