PHP Classes

VAT Definitions

Recommend this page to a friend!

      DB Cart Class  >  All threads  >  VAT Definitions  >  (Un) Subscribe thread alerts  
Subject:VAT Definitions
Summary:VAT in UK
Author:Jon Slack
Date:2007-05-07 11:40:13
Update:2007-05-07 12:47:05


  1. VAT Definitions   Reply   Report abuse  
Picture of Jon Slack Jon Slack - 2007-05-07 11:40:13
The VAT rate in the UK is currently 17.5%, not 19% as hard coded in the class. Also, not everyone is VAT registered and so in db_config.php I have amended the definition of VAT_VALUE as follows:


define("INCL_VAT", true);
define("VAT_VALUE", 19);

define("INCL_VAT", false);
if(INCL_VAT) define("VAT_VALUE", 17.5);
else define("VAT_VALUE", 0);

Perhaps another fix could be included to set INCL_VAT to true or false by the user for individual products, as some products (ie books) are zero rated.

  2. Re: VAT Definitions   Reply   Report abuse  
Picture of Olaf Lederer Olaf Lederer - 2007-05-07 12:47:05 - In reply to message 1 from Jon Slack

if you have questions/suggestions please post them to the forum which is linked from my homepage. (check also if you're using the latest version)