| 
	            Group: Forum MembersLast Active: Tue 16 Feb 2016
 Posts: 19, 
                Visits: 117
 
 | 
			    Shipping as far as I know is never taxed in the U.S. - I've never worked on a site where shipping has been taxed. But Kartris is set up so that if tax is applied, it is always applied to shipping fees as well. 
 I found this forum post about how to remove tax from shipping: http://forum.kartris.com/Topic3232.aspx.  But this post permanently removes it.  I think this is something that should be configurable as part of the Kartris code base.
 
 I created a configuration variable for it with the following SQL:
 
 I then modified BasketBLL.vb at Line 1737 to be:INSERT INTO tblKartrisConfig (CFG_Name, CFG_Value, CFG_DataType, CFG_DisplayType, CFG_DisplayInfo, CFG_Description, CFG_VersionAdded, CFG_DefaultValue, CFG_Important) 
 VALUES ('general.tax.chargeonshipping', 'y', 's', 'b', 'y|n', 'Whether to charge tax on shipping', '2.8004', 'y', 0)  GO 
 If GetKartConfig("general.tax.chargeonshipping") = "y" Then
      ShippingPrice.TaxRate = IIf(ApplyTax, .ComputedTaxRate, 0)
 
 Else
       ShippingPrice.TaxRate = 0
 End If I then modified KartrisClasses.vb at Line 356 to be:
 If GetKartConfig("general.tax.chargeonshipping") = "y" Then
      If blnUStaxEnabled Or blnSimpletaxEnabled Then
 
           numShippingTaxRate = ShippingCountry.ComputedTaxRate
      Else
           blnNormalShippingTax = True
      End If
 Else
      numShippingTaxRate = 0
 End IfAnd finally modified KartrisClasses.vb at Line 439 to be:
 
 If GetKartConfig("general.tax.chargeonshipping") = "y" Then
      If blnUStaxEnabled Or blnSimpletaxEnabled Then
           numShippingTaxRate = ShippingCountry.ComputedTaxRate
      Else
           blnNormalShippingTax = True
      End If
 Else
      numShippingTaxRate = 0
 End If
 This allows whether or not the shipping is taxed to be configured in the admin.  It would be great to see this included in the code base in a future release.
 
 
						                
                
                Thu 14 Jan 2016 by  
                jcosmo
            
					 |