This is a discussion on customers stats orders within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Just replace (near line 166) $tot_HT = ($tot_sale['total']-$tot_shipping['total'])*(1-($tot_taxes['total']/$tot_sale['total'])); by if($tot_sale['total'] == 0){ $tot_HT = 0; $tot_sale['total'] = 0; }else{ $tot_HT ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| $tot_HT = ($tot_sale['total']-$tot_shipping['total'])*(1-($tot_taxes['total']/$tot_sale['total'])); by if($tot_sale['total'] == 0){ $tot_HT = 0; $tot_sale['total'] = 0; }else{ $tot_HT = ($tot_sale['total']-$tot_shipping['total'])*(1-($tot_taxes['total']/$tot_sale['total'])); } I think now it works More...
__________________ Michael Sasek osCMax Developer
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| customers stats orders | michael_s | New osCommerce Contributions | 0 | 10-05-2008 03:01 PM |
| customers stats orders | michael_s | New osCommerce Contributions | 0 | 08-15-2008 11:01 PM |
| customers stats orders | michael_s | New osCommerce Contributions | 0 | 08-14-2008 09:00 AM |
| customers stats orders | michael_s | New osCommerce Contributions | 0 | 05-12-2008 09:02 AM |
| customers stats orders | michael_s | New osCommerce Contributions | 0 | 06-06-2007 05:31 AM |