New to shopify development. I just wrote a pretty simple JS function to get max products per variant and add an HTML attribute to the <input> element so customers can't select a greater amount that what is available. Should be simple but I can not get the function to fun on /cart page load. Im using the Brooklyn there and Im seeing its using a Handlebars.js file for the cart and Im sure there is something obvious that Im missing preventing function triggers in here. Ive tried a couple different things with no luck.
Happy to help with your Shopify theme issues! Help me out by accepting my solutions. Feel free to email me at: firstname.lastname@example.org