Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mgx

Archived
  • Posts

    1
  • Joined

  • Last visited

Profile Information

  • Real Name
    Milan Gacik

mgx's Achievements

  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
×
×
  • Create New...