Having trouble running a JS function from /cart page

gburner515
Tourist
5 0 1

Hi everyone,

 

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.

 

Any ideas?

 

Thanks,
Gary

Happy to help with your Shopify theme issues! Help me out by accepting my solutions. Feel free to email me at: gary@emilystreetmarketing.com
0 Likes