JS file is included on every page
-
I noticed that you include the JS file of the script on every page, and therefor admin-ajax.php is also called on every page load.
Only including the JS file on the proper checkout page would be a huge win, and isn’t too difficult to do. If you want I can provide you with the code to do that.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘JS file is included on every page’ is closed to new replies.