title: Woocommerce - Change price display in cart and checkout page
body: <p>I'm creating a webshop with WooCommerce in WordPress, using swedish krona (SEK) as currency. It should be displayed after the price, i.e. "2999 kr", and not "kr2999", but I can't get it to work on the cart and the checkout page, and not cart in the header.</p>
  
  <p>I've found this filter for the cart total price, which is working but only on the total price in checkout:</p>
  
  <p>functions.php</p>
  
  <pre><code>add_filter('woocommerce_cart_totals_order_total_html', 'total_price');
  
  function total_price() {
      $price_html = substr(WC()-&gt;cart-&gt;get_total(),33);
      $replace_price = substr_replace($price_html, ' kr', 49);
      $value = '&lt;strong&gt;' . $replace_price . '&lt;/strong&gt; ';
      return $value;
  }
  </code></pre>
  
  <p>How do I do this for every price display in cart and checkout and cart in header? It should be similar to the code above?</p>
  
  <p><a href="https://i.stack.imgur.com/3l3qc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3l3qc.png" alt="Header cart price display"></a></p>