  |
1 | 1 | | <?php |
| |
2 | 2 | | /* |
  |
3 | | - | $Id: shopping_cart.php 734 2006-08-20 17:56:47Z hpdl $ |
| |
| 3 | + | $Id: shopping_cart.php 748 2006-08-23 11:26:56Z hpdl $ |
|
4 | 4 | | |
| |
5 | 5 | | osCommerce, Open Source E-Commerce Solutions |
| |
6 | 6 | | http://www.oscommerce.com |
| |
|
|
 |
… |
|
776 | 776 | | $tax = $osC_Tax->getTaxRate($data['tax_class_id'], $this->getTaxingAddress('country_id'), $this->getTaxingAddress('zone_id')); |
| |
777 | 777 | | $tax_description = $osC_Tax->getTaxRateDescription($data['tax_class_id'], $this->getTaxingAddress('country_id'), $this->getTaxingAddress('zone_id')); |
| |
778 | 778 | | |
  |
779 | | - | $shown_price = $osC_Currencies->formatRawWithTaxRate($data['final_price'], $tax, $data['quantity']); |
| |
| 779 | + | $shown_price = $osC_Currencies->addTaxRateToPrice($data['final_price'], $tax, $data['quantity']); |
  |
780 | 780 | | $this->_sub_total += $shown_price; |
| |
781 | 781 | | $this->_total += $shown_price; |
| |
782 | 782 | | |