Page 1 of 1

Which file is calculate the total

PostPosted: Tue Jan 20, 2015 4:21 pm
by mrhard
Which file is calculate the total. the total that is used by pressing the button to confirm the order.
or some variable stores this value.

op 1.2.356.

Re: Which file is calculate the total

PostPosted: Fri Jan 23, 2015 1:52 pm
by admin
hello,
it depends on if you used opc's ps_checkout or not...

if you are using core ps_checkout the calculation is done usually in /administrator/components/com_virtuemart/classes/ps_checkout.php
and within OPC the calculation is done in :
/administrator/components/com_onepage/vm_files/ps_checkout_ext.php

which is optionally loaded from overrides in /components/com_virtuemart/themes/YOUR VM THEMES/ (an override dir) / ps_checkout.php

it further saved by opc in /administrator/components/com_virtuemart/classes/ps_onepage.php


ps_onepage.php is used to store order data + user information

best regards, stan