title: how to display correct recurring profile price in cart in opencart 2.x
body: <p>every time I add a subscription option to the (opencart) cart the price that gets added is the actual product price and not the subscription price. is there an easy fix for this?</p>
  
  <p><strong>EDIT</strong><br>
  So I believe I was able to fix this issue. I took a look at the code in the \system\library\cart.php file (I'm currently using OC version 2.0.1.1) and edited lines 255 and 256</p>
  
  <p>from this:<br>
  <code>'price' =&gt; ($price + $option_price),</code><br>
  <code>'total' =&gt; ($price + $option_price) * $quantity,</code></p>
  
  <p>to this:<br>
  <code>'price' =&gt; ($price + $recurring['price'] + $option_price),</code><br>
  <code>'total' =&gt; ($price + $recurring['price'] + $option_price) * $quantity,</code></p>
  
  <p><strong>EDIT #2</strong><br>
  So turns out the above edit doesn't fully solve the issue because it ends up double charging on checkout. I'm going to try to figure this one out when I have some time. Any help is appreciated!</p>