An updated version of this tutorial compatible with Dawn v15 (and other free Shopify themes like Sense, Refresh, etc) can be found here: ruclips.net/video/VvpkG8ON1_0/видео.html
this is an excellent video but not sure at what point I make the changes from as I only want to set a maximum qty for one product in my store (which has 15 or so variants) but how do I make the changes to the code to do that rather than for ALL products. I'm fairly new to this but understood the majority of your video but just need some clarification please. At what point in the video do I start from just for changing 1 product max qty, not all of them.
The code installation process is exactly as shown in the video. To only have it active on one product, then you only need to set the metafields for that one product. The remaining products will behave as normal without any quantity rules.
This is very valuable video, shopify don't want to give this simple features to the base plan users even after multiple years of request from people, it's a shame that they want users to spend more money to do this via paid apps or shopify plus. I can't thank you enough for this video as I didn't find this information anywhere on the internet including suggestion from AI's which just give some lame answer which doesn't work. I followed the steps and it works just great! Thanks again and keep up the good work.
Thanks! By far, the most consistent, reliable and comprehensive channel for customizations. Have been looking for a min and max quantity solution for a very long time. Can you please make a video about how to update your theme without losing customizations? Or, a video about adding a shipping calculator to the cart drawer and cart page to help customers have a better idea of total shipping and total order price?
Hello Sir! You're doing a fantastic work. Thank you so Much I have a request if possible please make a small video on this. I have disable add to cart button on my store. I want to keep only "Buy it Now" button on the product page and make this Buy it Now button STICKY. Please make a video on this. I would really help me. Thanks
It may not be as simple as this, but in the code, instead of setting the max to {{ max_for_variant }}, you could try setting it to {{ item.product.selected_or_first_available_variant.inventory_quantity }}
👋, I just have one product, no variations. I want to limit each order to max 4 items. I followed your tutorial though it did not work for me, because I had not variants, I did not do that part of your tutorial, maybe that has caused the problem. Is it possible to just add a product maximum order limit without any variants? Thanks very much, Laurence 🤓
Hi Lawrence - thanks for commenting and joining our Skool group! I know that this has been resolved for you now, but for anyone else seeing this comment, the order limits works with products with and without variants. There's also a newer version of this tutorial in case you're using a new version of Dawn: ruclips.net/video/VvpkG8ON1_0/видео.html
Incredible video mate! Been scouring the web for the answer to this problem for some time now. You delivered such a complicated concept so clearly. Very easy to understand and follow. Touche. How do I go about applying this to Featured Products? I followed the same process as the Main Product section; it works on desktop but tells me "cannot apply selling plan to variant" on mobile - do you know how to get around this?
Glad it helped you! Without seeing your specific issue, it seems unusual to me that you would only get that message on mobile, so I wonder if something else is going on. Selling plans generally refer to subscriptions, so I suggest you trace to see if any of your customizations or apps modify or create subscriptions on your store. But if that doesn't work and you want us to dig a little deeper, then we started a new Skool community to handle technical issues like this that are difficult to address through RUclips comments. You can check it out here if you're interested: www.skool.com/the-prompted/about
"Hey, just wanted to say I'm a huge fan of your videos! I'm from india, Your tutorials have been incredibly helpful for me. New video suggestion - If possible, I'd love to see a tutorial on creating popular trending Instagram icon categories in top home page and subcategories in sub page section. I always suggest ur videos around my community circle, Keep up the great work!"
Confirmed this works for Dawn v15.0.0, thanks so much! Subscribed. When I set different minimums for separate variants, the page doesn't update properly; it follows the rule of the original variant selected. The correct message is shown, but the quantity input follows the rule depending on whichever variant is active when the page is loaded/reloaded. Is there anything I can do to make sure the quantity box updates with the message?
Shopify doesn’t allow for fractional quantities, and this tutorial adds limits to the whole number quantities that Shopify uses. However it’s possible to create a workaround for this, depending on your use case. If you’re interested in exploring it with us you can book a call on our website at theprompted.co/hire-us
Thank you so much for the tutorial. Works Perfectly! New follower and waiting for the next tutorial. I would love to see a tutorial for autoplay video banner with the same blocks of the image banner (text, heading and buttons).
Thanks for the suggestion! We noted it down, but it may not be something we get to anytime soon, as there are lots of other excellent suggestions that viewers like yourself have requested. If it's something you want to make sure we work on, then you can consider hiring us to build it out for you: theprompted.co/hire-us
The code was designed for the free Shopify themes like Dawn, Sense, Refresh, etc. For premium themes like Prestige the customization would need to be adapted to fit, so some additional development work would be required.
is it possible that your script has a problem with products that have no inventory? I have an issue with one article. once you add this article to the cart you cannot add other articles to the cart. the quantity_rule always starts. but I don't have a rule for this product live. can you explain this?
Difficult to diagnose the problem and unfortunately I haven't been able to re-create your issue. Sorry. If you haven't already, I would suggest installing a fresh new version of your theme as a sandbox testing area and trying again from scratch. This way if you get a different result, then there likely was an error in the implementation, and if you get the same result, then maybe its a compatibility issue with your theme and version, or other customizations and apps that you are using.
Brilliant! 🤩However it seem to be in conflict with the custom stock / inventory info. That info is not show up as expected after this edit, and the rule from this tutorial is not working on the product pages. Strange, it even messed up the color of the inventory indicator on my live theme that was not used for this customization... strange..
That does sound very strange. These 2 customizations shouldn't interfere with one another. And a change to one theme should not affect another. For example, the inventory indicator icon (colored circles) is defined directly in the theme, so a change in a draft theme should not affect your live theme. Is it possible there's something else going on that may have affected your entire store? Perhaps an app that was installed that may be affecting things?
If you attempt to add to cart a quantity more than what is available in stock, an error message will come up telling you that you cannot add more to the cart.
Best channel❤❤❤ Would like to have product zoom like photoswipe or other, Right now in dawn theme the zoom popup is looks very bad. Thank you for your videos From India. Thank you
My theme is spotlight and this tutorial worked great but only once. I sell stickers. And one of my products comes with only one sticker and one drawing. If they would like to add the same order twice, each with different uploaded pictures. they cant add it to cart again because of the min:1 max:1. How can I keep the max of 1 per order but still allow them to order the same product except with different pictures? Without it saying “max added to cart”
That sounds like you'll need some custom logic to recognize whether there's an image uploaded and how to limit their ordering. Unfortunately that's beyond the scope of this tutorial. If it's something you're interested in hiring us to build out for you, please feel free to reach out at theprompted.co/hire-us
Minimum qty scenario is not working in cart. I have only minimum qty condition. Add to cart if min Qty-10. In Product page its working fine. But in cart page and drawer, decreasing button is not disabled if qty
What theme and version are you using? If it's v15, some viewers have reported that it's not working. We will review this and make an update if necessary.
Indeed it is working great but only the first time. min:1, max:2, increment:1 case 1: cart-popup notification + cart page -user added maximum product in cart and then if he return back to the product page. It shows zero quantity and can't add but if you really click on the button it is incrementing and then you can buy as many as you want. -just have to click on checkout button. OR you can add with cart-notification popup using checkout button. Case 2: cart drawer If we take those steps in cart drawer by going back to product page it is not even validating. It is directly taking them to the checkout page.
@@theprompted Have a similar problem with Dawn 11.0.0. I have some products without an amount field - so the user has only the button "add to cart". And this button does not get disabled when "max" amount is reached. also even with the amount field like mentioned. it gets limited - but only once. if the customer comes back to the product he can add again the max amount. it will also be in the cart. but there the customer cant increase and if he reduces the amount it jumps to the max value. but if not he can order more. EDIT: pretty sure we need also make some changes in the 'buy-buttons.liquid' file. tomorrow i will try to programm some changes
Seeking solution - How to show a Store Wide Percentage discount on all products showing on Product Page, Collection Page and in cart (calculated). Including ‘Strike Thru’ price and % discount and SALE badge on product pages etc, including start date and end date with countdown timer, without using Compare at price. I have 300 products with 9 or 10 variants each, making it very time consuming without a simple way to do this. Have searched far and wide however nobody explains customizations the way you do making it easy and simple to follow.
Do you want to avoid the compare at price because it's not how you want the discount to be shown, or is it because you think it's too time consuming to update the compare at price for all products and variants? Do your products/variants follow a simple pricing pattern, or are they all different? If it's just a matter of it being time consuming and your products/variants all have very similar or repeatable prices, then you can use a bulk editing tool like Matrixify or Hextom BPE to update all your prices in bulk, giving you the sale price. To get the % discount, you can follow this tutorial: ruclips.net/video/ZEr_vSZwo1M/видео.html For the countdown timer, I don't currently have a solution for that, but have it on my list to develop. I hope this helps!
hai i wanted the increment to be in 0.5 and the price has to multiply with this. I have changed the integer part to decimal and it is incremented by 0.5 but price is not multiplied and add to cart is not storing this , Kindly help
Shopify isn't built to handle fractional quantities. So you would have to use workarounds (ex: set each unit 1 quantity to represent the fractional unit, or use variants to represent quantity).
You don't actually need them with this customization. I was simply showing that as a feature that Shopify Plus users get. We work around it to give the same functionality to regular Shopify users by using metafields and metaobjects.
@@theprompted thanks for your response. I've gone so far until the find and replace item.variant.qty.rule which doesn't come up in my main.cart.liquid as I'm using the canopy theme. Not sure if that was something you've defined upfront please?
This customization was designed for the free Shopify themes (ex: Dawn, Sense, Refresh, etc). If you're not finding the same code in your theme, then you would need custom development to adapt it to work with your theme.
Its working for the first time but on page refresh it again goes back to 0 and allows to add unlimited no. Of product and also allows to go negative no. Can you please tell me where I am doing wrong?
Hi can we make email optional while checkout in Shopify because I am from India and here some people don't know the email and I think they are tired or confused too write there number two times while checkout so is there any way so that I can make email optional
Yes, you can make email optional. You can find this information on the Shopify help center: help.shopify.com/en/manual/orders/notifications/sms-notifications "Can customers check out without an email address? Yes. If you allow customers to enter a phone number at checkout, then a customer who checks out with a phone number won't have an email address saved to their order. Customers can still choose to enter an email address on the order status page to receive email notifications for an order after the order is placed."
Seeking to change Search Bar like this ruclips.net/video/Uw1h7RCmVN0/видео.html, however presenter is confusing or confused. Please consider showing us how to do this as you seem to be one of 2 YT presenters I have found that know how to explain procedures, most are confusing or not simple enough for my limited skills.
Hi, Im using Motion theme and have gotten to Edit main-cart-items.liquid and cart-drawer.liquid and cannot find anywhere that says item.variant.quantity_rule. Is there somewhere else I should be looking?
This customization was designed for the free Shopify themes, and unfortunately premium/third party themes like Motion have a different theme structure, so additional development would be required to add this feature.
My item.variant.quantity_rule does not exist actually in my theme, any idea what I can replace it with, also the max="{{ quantity_rule.max }} does not exist in my code on the main-cart-items.liquid or the cart-drawer.liquid... Any idea what I can do in that case?
This customization was designed for the free Shopify themes (ex: Dawn, Refresh, Sense, etc). If you're using a premium or third-party theme, then additional custom coding will be required.
There's actually two card-drawer.liquid files. You're likely looking at the section file instead of the snippet file. On the left side, look under the Snippets folder and you should find the right one.
There's actually two card-drawer.liquid files. You're likely looking at the section file instead of the snippet file. On the left side, look under the Snippets folder and you should find the right one.
An updated version of this tutorial compatible with Dawn v15 (and other free Shopify themes like Sense, Refresh, etc) can be found here: ruclips.net/video/VvpkG8ON1_0/видео.html
this is an excellent video but not sure at what point I make the changes from as I only want to set a maximum qty for one product in my store (which has 15 or so variants) but how do I make the changes to the code to do that rather than for ALL products. I'm fairly new to this but understood the majority of your video but just need some clarification please. At what point in the video do I start from just for changing 1 product max qty, not all of them.
The code installation process is exactly as shown in the video.
To only have it active on one product, then you only need to set the metafields for that one product.
The remaining products will behave as normal without any quantity rules.
This is very valuable video, shopify don't want to give this simple features to the base plan users even after multiple years of request from people, it's a shame that they want users to spend more money to do this via paid apps or shopify plus. I can't thank you enough for this video as I didn't find this information anywhere on the internet including suggestion from AI's which just give some lame answer which doesn't work. I followed the steps and it works just great! Thanks again and keep up the good work.
This video should have at least 200k views!
well there aren't that many shopify users that thought about this yet :)
For this video alone, you get a like and a new subscriber!
This is absolutely perfect!!! Thank you a lot. I was really looking for this feature.
Thank you very much! A couple of days ago, I was wondering how to limit the number of products per order.
I appreciate your work!
Haha that's great timing, then. Thanks for dropping a note :)
Thank you i use This Code 100% Working Thank You Very much Very Grateful Video 👍
Great tutorial, thank you!!
Thank you for taking the time to make this video and the content page with the code. So easy a caveman can do it. All works as intended. Awesome!
one of the best tutorials I have ever seen about shopify stores. great work. 🎩💚 works like a charm
Glad it helped! Thanks for the kind words
Thanks! By far, the most consistent, reliable and comprehensive channel for customizations.
Have been looking for a min and max quantity solution for a very long time.
Can you please make a video about how to update your theme without losing customizations?
Or, a video about adding a shipping calculator to the cart drawer and cart page to help customers have a better idea of total shipping and total order price?
Thanks for the kind words! And glad that the videos have been helpful.
Noted on both suggestions, added them to the list.
I can't thank you enough! Great tutorial!
Hello Sir! You're doing a fantastic work. Thank you so Much
I have a request if possible please make a small video on this.
I have disable add to cart button on my store. I want to keep only "Buy it Now" button on the product page and make this Buy it Now button STICKY.
Please make a video on this. I would really help me. Thanks
Amazing feature & great demo! Hello, do you see a way of making the max = current quantity available? So that it is not static. Appreciate!
It may not be as simple as this, but in the code, instead of setting the max to {{ max_for_variant }}, you could try setting it to {{ item.product.selected_or_first_available_variant.inventory_quantity }}
Thanks one more time for this tutorial. I would love to see a tutorial for quantity breaks. Cheers.
You're welcome! And noted on quantity breaks / volume pricing.
@@theprompted Awesome :)
👋, I just have one product, no variations. I want to limit each order to max 4 items. I followed your tutorial though it did not work for me, because I had not variants, I did not do that part of your tutorial, maybe that has caused the problem.
Is it possible to just add a product maximum order limit without any variants?
Thanks very much, Laurence 🤓
Hi Lawrence - thanks for commenting and joining our Skool group! I know that this has been resolved for you now, but for anyone else seeing this comment, the order limits works with products with and without variants. There's also a newer version of this tutorial in case you're using a new version of Dawn: ruclips.net/video/VvpkG8ON1_0/видео.html
Incredible video mate! Been scouring the web for the answer to this problem for some time now. You delivered such a complicated concept so clearly. Very easy to understand and follow. Touche.
How do I go about applying this to Featured Products? I followed the same process as the Main Product section; it works on desktop but tells me "cannot apply selling plan to variant" on mobile - do you know how to get around this?
Glad it helped you! Without seeing your specific issue, it seems unusual to me that you would only get that message on mobile, so I wonder if something else is going on. Selling plans generally refer to subscriptions, so I suggest you trace to see if any of your customizations or apps modify or create subscriptions on your store.
But if that doesn't work and you want us to dig a little deeper, then we started a new Skool community to handle technical issues like this that are difficult to address through RUclips comments. You can check it out here if you're interested: www.skool.com/the-prompted/about
"Hey, just wanted to say I'm a huge fan of your videos! I'm from india, Your tutorials have been incredibly helpful for me.
New video suggestion - If possible, I'd love to see a tutorial on creating popular trending Instagram icon categories in top home page and subcategories in sub page section. I always suggest ur videos around my community circle, Keep up the great work!"
Thank you for your support and the kind words! I've noted down your suggestion
Confirmed this works for Dawn v15.0.0, thanks so much! Subscribed.
When I set different minimums for separate variants, the page doesn't update properly; it follows the rule of the original variant selected. The correct message is shown, but the quantity input follows the rule depending on whichever variant is active when the page is loaded/reloaded.
Is there anything I can do to make sure the quantity box updates with the message?
It might have something to do with the changes in Dawn for v15 that is causing this. We'll have to take a look at this to see if a fix is needed.
Is there a way to change your quantities to include decimal places eg 7.75 or is there another tutorial for quantity by measurement?
Shopify doesn’t allow for fractional quantities, and this tutorial adds limits to the whole number quantities that Shopify uses. However it’s possible to create a workaround for this, depending on your use case. If you’re interested in exploring it with us you can book a call on our website at theprompted.co/hire-us
Hi sir , please create a tutorial on Speed optimisation without apps
Thanks for the suggestion!
Thank you so much for the tutorial. Works Perfectly!
New follower and waiting for the next tutorial. I would love to see a tutorial for autoplay video banner with the same blocks of the image banner (text, heading and buttons).
Thanks for following! I appreciate it :)
And thanks for the suggestion - I've added it my ideas list
Another great video.
Can you make a version for minimum cart $ value? Example: $1500 minimum cart value before able to checkout?
Thanks for the suggestion! We noted it down, but it may not be something we get to anytime soon, as there are lots of other excellent suggestions that viewers like yourself have requested.
If it's something you want to make sure we work on, then you can consider hiring us to build it out for you: theprompted.co/hire-us
Hi, video is great. Any idea where to add these code snippets for the Prestige theme?
The code was designed for the free Shopify themes like Dawn, Sense, Refresh, etc. For premium themes like Prestige the customization would need to be adapted to fit, so some additional development work would be required.
is it possible that your script has a problem with products that have no inventory? I have an issue with one article. once you add this article to the cart you cannot add other articles to the cart. the quantity_rule always starts. but I don't have a rule for this product live. can you explain this?
Difficult to diagnose the problem and unfortunately I haven't been able to re-create your issue. Sorry.
If you haven't already, I would suggest installing a fresh new version of your theme as a sandbox testing area and trying again from scratch. This way if you get a different result, then there likely was an error in the implementation, and if you get the same result, then maybe its a compatibility issue with your theme and version, or other customizations and apps that you are using.
Brilliant! 🤩However it seem to be in conflict with the custom stock / inventory info. That info is not show up as expected after this edit, and the rule from this tutorial is not working on the product pages. Strange, it even messed up the color of the inventory indicator on my live theme that was not used for this customization... strange..
That does sound very strange. These 2 customizations shouldn't interfere with one another. And a change to one theme should not affect another. For example, the inventory indicator icon (colored circles) is defined directly in the theme, so a change in a draft theme should not affect your live theme.
Is it possible there's something else going on that may have affected your entire store? Perhaps an app that was installed that may be affecting things?
Brother, could you please provide the cdde?
Link for the code is in the description. Just toggle the menus open at the bottom of the page to reveal the relevant sections.
Possible to set a maximum limit on the quantity selector base on available stock? (product has variants)
If you attempt to add to cart a quantity more than what is available in stock, an error message will come up telling you that you cannot add more to the cart.
how to change the quantity selector to drop down options instead of increments by certain amount ?
This would require custom coding to convert it. If it's a feature you want to hire us for, you can book a call with us at theprompted.co/hire-us
Best channel❤❤❤
Would like to have product zoom like photoswipe or other,
Right now in dawn theme the zoom popup is looks very bad.
Thank you for your videos
From India.
Thank you
Are you referring to the quality of the zoomed in images? Or the design of how the images can be scrolled through?
@@theprompted about the design how they scroll
My theme is spotlight and this tutorial worked great but only once. I sell stickers. And one of my products comes with only one sticker and one drawing.
If they would like to add the same order twice, each with different uploaded pictures. they cant add it to cart again because of the min:1 max:1.
How can I keep the max of 1 per order but still allow them to order the same product except with different pictures? Without it saying “max added to cart”
That sounds like you'll need some custom logic to recognize whether there's an image uploaded and how to limit their ordering. Unfortunately that's beyond the scope of this tutorial.
If it's something you're interested in hiring us to build out for you, please feel free to reach out at theprompted.co/hire-us
Minimum qty scenario is not working in cart. I have only minimum qty condition. Add to cart if min Qty-10. In Product page its working fine. But in cart page and drawer, decreasing button is not disabled if qty
What theme and version are you using? If it's v15, some viewers have reported that it's not working. We will review this and make an update if necessary.
Indeed it is working great but only the first time.
min:1, max:2, increment:1
case 1: cart-popup notification + cart page
-user added maximum product in cart and then if he return back to the product page. It shows zero quantity and can't add but if you really click on the button it is incrementing and then you can buy as many as you want.
-just have to click on checkout button. OR you can add with cart-notification popup using checkout button.
Case 2: cart drawer
If we take those steps in cart drawer by going back to product page it is not even validating. It is directly taking them to the checkout page.
It seems with Dawn v15 that product changes handling has been modified. Will have to revisit this for a fix.
@@theprompted great can't wait
Facing the same issue
@@theprompted Have a similar problem with Dawn 11.0.0. I have some products without an amount field - so the user has only the button "add to cart". And this button does not get disabled when "max" amount is reached. also even with the amount field like mentioned. it gets limited - but only once. if the customer comes back to the product he can add again the max amount. it will also be in the cart. but there the customer cant increase and if he reduces the amount it jumps to the max value. but if not he can order more.
EDIT: pretty sure we need also make some changes in the 'buy-buttons.liquid' file. tomorrow i will try to programm some changes
My theme does not have a main-cart-items.liquid. We use the Warehouse theme. Any suggestions on how to incorporate this with that theme?
Seeking solution - How to show a Store Wide Percentage discount on all products showing on Product Page, Collection Page and in cart (calculated). Including ‘Strike Thru’ price and % discount and SALE badge on product pages etc, including start date and end date with countdown timer, without using Compare at price. I have 300 products with 9 or 10 variants each, making it very time consuming without a simple way to do this. Have searched far and wide however nobody explains customizations the way you do making it easy and simple to follow.
Do you want to avoid the compare at price because it's not how you want the discount to be shown, or is it because you think it's too time consuming to update the compare at price for all products and variants?
Do your products/variants follow a simple pricing pattern, or are they all different?
If it's just a matter of it being time consuming and your products/variants all have very similar or repeatable prices, then you can use a bulk editing tool like Matrixify or Hextom BPE to update all your prices in bulk, giving you the sale price.
To get the % discount, you can follow this tutorial: ruclips.net/video/ZEr_vSZwo1M/видео.html
For the countdown timer, I don't currently have a solution for that, but have it on my list to develop.
I hope this helps!
hai i wanted the increment to be in 0.5 and the price has to multiply with this. I have changed the integer part to decimal and it is incremented by 0.5 but price is not multiplied and add to cart is not storing this , Kindly help
Shopify isn't built to handle fractional quantities. So you would have to use workarounds (ex: set each unit 1 quantity to represent the fractional unit, or use variants to represent quantity).
Thanks for this but I can't find catalogs in my profile?
You don't actually need them with this customization. I was simply showing that as a feature that Shopify Plus users get. We work around it to give the same functionality to regular Shopify users by using metafields and metaobjects.
@@theprompted thanks for your response. I've gone so far until the find and replace item.variant.qty.rule which doesn't come up in my main.cart.liquid as I'm using the canopy theme. Not sure if that was something you've defined upfront please?
This customization was designed for the free Shopify themes (ex: Dawn, Sense, Refresh, etc). If you're not finding the same code in your theme, then you would need custom development to adapt it to work with your theme.
@theprompted do you provide thus service?
Its working for the first time but on page refresh it again goes back to 0 and allows to add unlimited no. Of product and also allows to go negative no. Can you please tell me where I am doing wrong?
Are you using a v15 theme? If so, other viewers have reported that it's not working anymore. We'll be looking at making a fix for this.
how do you hide (increment of. minimum of 100 . maximum of 100) on the product page? don't want the increment or minimum or maximum to show
You can add the following custom css into your product information section of your product template.
.quantity__rules {
display: none;
}
Why you are sharing doc" code for this video can be found here"
Link for the code is in the description. Just toggle the menus open at the bottom of the page to reveal the relevant sections.
Hi can we make email optional while checkout in Shopify because I am from India and here some people don't know the email and I think they are tired or confused too write there number two times while checkout so is there any way so that I can make email optional
Yes, you can make email optional. You can find this information on the Shopify help center: help.shopify.com/en/manual/orders/notifications/sms-notifications
"Can customers check out without an email address?
Yes. If you allow customers to enter a phone number at checkout, then a customer who checks out with a phone number won't have an email address saved to their order. Customers can still choose to enter an email address on the order status page to receive email notifications for an order after the order is placed."
@@theprompted ok thanks
Seeking to change Search Bar like this ruclips.net/video/Uw1h7RCmVN0/видео.html, however presenter is confusing or confused. Please consider showing us how to do this as you seem to be one of 2 YT presenters I have found that know how to explain procedures, most are confusing or not simple enough for my limited skills.
Thanks for the suggestion! I added it to the ideas list
Hi, Im using Motion theme and have gotten to Edit main-cart-items.liquid and cart-drawer.liquid and cannot find anywhere that says item.variant.quantity_rule. Is there somewhere else I should be looking?
This customization was designed for the free Shopify themes, and unfortunately premium/third party themes like Motion have a different theme structure, so additional development would be required to add this feature.
My item.variant.quantity_rule does not exist actually in my theme, any idea what I can replace it with, also the max="{{ quantity_rule.max }} does not exist in my code on the main-cart-items.liquid or the cart-drawer.liquid... Any idea what I can do in that case?
The only code I have for quantity is this:
{{ 'products.product.quantity.label' | t }}
{{ 'products.product.quantity.decrease' | t: product: item.product.title | escape }}
{% render 'icon-minus' %}
{{ 'products.product.quantity.increase' | t: product: item.product.title | escape }}
{% render 'icon-plus' %}
This customization was designed for the free Shopify themes (ex: Dawn, Refresh, Sense, etc). If you're using a premium or third-party theme, then additional custom coding will be required.
My card.drawer.liquid code looks nothing like your all it says is {render ‘cart-drawer’-% what do I do
There's actually two card-drawer.liquid files. You're likely looking at the section file instead of the snippet file. On the left side, look under the Snippets folder and you should find the right one.
My card.drawer.liquid code looks nothing like your all it says is {render ‘cart-drawer’-% what do I do
There's actually two card-drawer.liquid files. You're likely looking at the section file instead of the snippet file. On the left side, look under the Snippets folder and you should find the right one.