View Single Post
  #1  
Old 07-01-2003, 11:13 PM
 
verbic verbic is offline
 

X-Cart team
  
Join Date: Sep 2002
Posts: 310
 

Default Tax exempt feature for selected memberships v3.4.x

This is simple patch that makes one of your membership level tax exempt when using US style taxing system. For version 3.4.x only.

Find this line in include/func.php in function func_calculate_singe

if ($product["free_tax"]=="N")

and replace it with

if (($product["free_tax"]=="N")&&($customer_info[membership] != 'Wholesale'))

This will make users who have membership named Wholesale tax exempt.

No user intreface (it will take much more modifications to make it a real end-user feature) and warrany of course, so use it at your own risk. Thanks.
__________________
Sincerely Yours,
Dmitry Verbichenko
Chief Information Officer
Reply With Quote