Post by Top » Fri Jun 03, 2011 11:30 pm

Hello, I have now looked for hours, but OC's code is still a big jungle to me.

I want to find the files where it calculates the total price of each product.
I tried following the price_prefix from the options, but that was a dead end to my surprise.

Top
New member

Posts

Joined
Sun May 15, 2011 2:20 am

Post by BOBKIM7080 » Tue Apr 17, 2012 4:07 pm

Did you find it?
If so please tell me what it is.
Thank you

User avatar
New member

Posts

Joined
Fri Aug 26, 2011 12:53 am


Post by Qphoria » Wed Apr 18, 2012 9:28 am

totals where? In the cart? the cart class pulls the data from the database and adds it together.
All the main classes are in system/library

There is a getSubTotal() function in the system/library/cart.php file that gets the totals of all products + options

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 1 guest