MiniCart - How do I set up the script as a function to call?
Posted: Thu Feb 21, 2013 12:46 pm
Good afternoon,
I'm in the process of setting up my store using ShopSite Pro 11.2. I set up the mini cart script to work with my site, www.onscreensupply.com and it appears to be working correctly. However I'm not using the WYSIWYG editor that comes with the office back-end and instead I'm using my own HTML pages. I don't have the actual shopping cart portion live yet on the web since we don't expect our products to arrive until possibly early next week. I'm not very well versed in Javascript and jQuery but I'm learning. Now, the script I got and tweaked from this tutorial here (http://www.shopsite.com/templates/cookbook/tips-minicart-outsideshopsite.shtml) is quite long and would crowd up my HTML, not to mention make it harder to format. I already saved it to it's own .js file, but the question is how would I call this script into action in my header on my site? Any help would be appreciated
I'm in the process of setting up my store using ShopSite Pro 11.2. I set up the mini cart script to work with my site, www.onscreensupply.com and it appears to be working correctly. However I'm not using the WYSIWYG editor that comes with the office back-end and instead I'm using my own HTML pages. I don't have the actual shopping cart portion live yet on the web since we don't expect our products to arrive until possibly early next week. I'm not very well versed in Javascript and jQuery but I'm learning. Now, the script I got and tweaked from this tutorial here (http://www.shopsite.com/templates/cookbook/tips-minicart-outsideshopsite.shtml) is quite long and would crowd up my HTML, not to mention make it harder to format. I already saved it to it's own .js file, but the question is how would I call this script into action in my header on my site? Any help would be appreciated