php - how to display correct recurring profile price in cart in opencart 2.x -


every time add subscription option (opencart) cart price gets added actual product price , not subscription price. there easy fix this?

edit
believe able fix issue. took @ code in \system\library\cart.php file (i'm using oc version 2.0.1.1) , edited lines 255 , 256

from this:
'price' => ($price + $option_price),
'total' => ($price + $option_price) * $quantity,

to this:
'price' => ($price + $recurring['price'] + $option_price),
'total' => ($price + $recurring['price'] + $option_price) * $quantity,

edit #2
turns out above edit doesn't solve issue because ends double charging on checkout. i'm going try figure 1 out when have time. appreciated!

if hover on “catalog” link in nav bar see new “profiles” link in drop down. section creating billing profiles can assigned particular products later on. setting way, can have unlimited number of pricing subscriptions opencart stock , assign ones need.

check link - http://cartadvisor.com/blog/2013/07/26/how-to-set-up-subscription-payments-in-opencart/


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -