This is a discussion on Order Editor within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; I have tried to use ORDER_EDIT 2.9.1, but i found following major bugs in VAT calculation: 1. VAT calculations (specially ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| I have tried to use ORDER_EDIT 2.9.1, but i found following major bugs in VAT calculation: 1. VAT calculations (specially in Javascript) are usual done in un-correct way, specially when you have DISPLAY_PRICE_WITH_TAX set to TRUE 2. tax rounding is default set to 4 decimal places, which is for me (SLOVAKIA) bad, because we have 1 decimal place rounding rule I have rewritten order_edit to make things OK with steps above, but I want to point to contrib creator, that this thing should be fixed! typical mistake is f.e.tax calculation without rounding set properly //removed by MGX $RunningSubTotal += (($products_details['tax']/100 + 1) * ($products_details['qty'] * $products_details['final_price'])); $RunningSubTotal += Round($products_details['final_price'] * ($products_details['tax']/100 + 1),1) * $products_details['qty']; My contrib needs following to be setup OK: 1. decimal tax place set 1 -> should take variable from admin (do you know how?) 2. installed ot_round contrib (I round according SK law final price at 0.5 down or up) Mgx More...
__________________ Michael Sasek osCMax Developer
|
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Order Editor | michael_s | New osCommerce Contributions | 0 | 04-10-2007 05:11 AM |
| Order Editor | michael_s | New osCommerce Contributions | 0 | 03-10-2007 08:50 PM |
| Order Editor | michael_s | New osCommerce Contributions | 0 | 02-01-2007 06:01 AM |
| Order Editor | michael_s | New osCommerce Contributions | 0 | 02-01-2007 04:52 AM |
| Order Editor | michael_s | New osCommerce Contributions | 0 | 01-28-2007 05:03 PM |