How can I transfer custom code between themes?

Shopify Partner
62 0 7

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?

Reply 1 (1)

Shopify Partner
6323 578 1341

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. 


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.



Save time & money ,Ask Questions The Smart Way

Confused? Busy? Get the solution you need

Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to