Personalized checkout and custom promotions with Shopify Scripts
Hello, experts!
I previously hired a developer to custom-code a minimum order quantity on some of my products. Now, I'm changing my theme and designed the website myself but not knowledgeable enough about liquid.
Can someone teach me how I can paste the codes from one theme to another?
Not all themes are built on the same foundations.
Sometimes a minimum amount can be as simple as finding the relevant product-form snippet or section and finding the quantity input and giving it a min attribute and value.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number#min
But that is purely based on a static value for all products-variants, a theme not using javascript or other features that may ignore or not render that qty input, etc.
Often there should be some related setting that reads what should be the value of the minimum such as in a metafield, or logic based on a tag etc.
If you need it looked at and the feature documented for any other future migrations then you can contact me. Contact info in signature please include context: post urls, store url, theme name, problem detail, etc.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024