Which file is calculate the total

Which file is calculate the total

Postby mrhard » Tue Jan 20, 2015 4:21 pm

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.
mrhard
 
Posts: 3
Joined: Mon Dec 01, 2014 2:21 pm

Re: Which file is calculate the total

Postby admin » Fri Jan 23, 2015 1:52 pm

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
admin
Site Admin
 
Posts: 2593
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 1.1.x

cron