I need to put the minicart on all pages of a WordPress site, but I don't need the modal box on most of them or the checkout stylesheet. Specifically what line(s) of the FoxyCart <head> code would I need to put in the default header.php file?
Hi @kanjigirl.
If I understand correctly, you want the mini-cart but not the rest of it. Honestly, I'd just say to include the foxycart_includes.js in your <head> sitewide, since it'll get cached anyway and won't affect the pageload or anything.
If you really wanted to you could call the foxycart.js by itself (after you've called jQuery) but that seems like more work than it's worth. Is there a reason you can't or don't want to include the foxycart_includes.js sitewide?
If I understand correctly, you want the mini-cart but not the rest of it. Honestly, I'd just say to include the foxycart_includes.js in your <head> sitewide, since it'll get cached anyway and won't affect the pageload or anything.
If you really wanted to you could call the foxycart.js by itself (after you've called jQuery) but that seems like more work than it's worth. Is there a reason you can't or don't want to include the foxycart_includes.js sitewide?