Just a little help I required, I received an email from Shopify about removing the code from the preferences section. Following is the email which I received from Shopify:
Following is the code which is in the preferences section, can someone suggest me where to move in the checkout.liquid? Thanks very much.
@sarkpk Could you please add me as staff so i will move code to checkout.liquid file
Thanks for your reply and that is really helpful.
However, I can move the code myself into the checkout.liquid file. I just want to know that in which area should I move it?
Because if I move it in head or in body then code starts appearing in checkout.
I'm not 100% clear what your previous code was trying to accomplish, but for you or other merchants needing resources Littledata has started a small guide for merchants needing to replace things.
Just in case you may need to at minimum wrap your code in a script tag if your trying to put it into theme files:
@sarkpk Happy to help you on this issue
Copy below code and put at the end of your checkout.liquid file