title: Woocommerce: Load custom functions on certain pages only
body: <p>I am using my child's theme functions.php to add custom functions.
  Thing is, I heavily modified the checkout page, so in my functions.php there are:
  <br>-about 300 lines I want to use globally,
  <br>-but then there are about 700 lines for checkout page alone.</p>
  <p>And add to that, there are checkout-related customizations in 4 other files:
  <br>-form-checkout.php,
  <br>-payment.php,
  <br>-review-order.php,
  <br>-shipping-order-review.php (custom file)</p>
  <p>I was wondering, is there a way to load all those checkout-related functions only on cart and checkout pages and not globally? <br>Could this be done by creating a custom plugin and then dequeue the script from certain pages? <br>Can someone point me to what should I search because I have no clue (guides, etc.)?
  <br>Also, could the same be done for styles.css (have separate files somehow and load separate custom .css based on the page you want)?
  <br><br>Thanks in advance.</p>