title: WooCommerce changing order line totals
body: <p>I have a plugin which applies discounts based on the category of the product. I'm using the filters below to add text to the order table in the cart:</p>
  <pre><code>add_filter('woocommerce_cart_product_subtotal', array($this,'change_product_subtotal'), 10, 4);
  add_filter( 'woocommerce_cart_product_price', array($this,'change_product_price'), 10, 2);
  add_filter( 'woocommerce_cart_item_name', array($this,'change_product_name'), 10, 2);
  </code></pre>
  <p>And this action to change the total price of the order/cart.</p>
  <pre><code>add_action( 'woocommerce_after_calculate_totals', array($this,'ca_change_cart_total'), 10, 1 );
  </code></pre>
  <p>The total price of the order pulls through to the checkout, as do the modified product fields. However when the order has been placed, the filters no longer have any effect (however the total order price is correct). My question is: what are the hooks I need to use to add the text present in the cart, to the placed order screen OR what is an alternative approach that will achieve the same outcome.I have provided screenshots showing the stages of the order. Thanks for any contributions.<a href="https://i.stack.imgur.com/LXMsG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LXMsG.png" alt="Cart Page" /></a><a href="https://i.stack.imgur.com/zEqdl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zEqdl.png" alt="Checkout Page" /></a><a href="https://i.stack.imgur.com/dtcmN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dtcmN.png" alt="Order Page" /></a></p>