I'm using OpenCart 2.3.0.2. I want to have a product in my store for recurring donations. The base product should be "zero", then they should be able to choose from a drop-down list, a variety of options ($10/month, $20/month, etc.). I set up recurring payments in accordance with this idea. However, when they go to checkout, the item price is still zero, when the subscription price should be added to the base price. Does anyone have a fix for this? An extension? Anything?
Here are a couple of screenshots to help demonstrate the issue:
Shopping Cart Page:
Anybody who finds this thread in the future would probably benefit from knowing how to fix this. In Opencart 2.3.0.2, you must edit this file: system/library/cart/cart.php
Replace:
'price' => ($price + $option_price),
'total' => ($price + $option_price) * $cart['quantity'],
With
'price' => ($price + $recurring['price'] + $option_price),
'total' => ($price + $recurring['price'] + $option_price) * $cart['quantity'],
Be aware that you need to have a trial period if you do this, else the customer will be double charged (once for the price of the product, once for the subscription).