Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 General help me questions
 No Tax for Customers?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pymalion
VP-CART New User

USA
80 Posts

Posted - August 02 2004 :  10:45:11  Show Profile  Visit pymalion's Homepage  Reply with Quote
Is there a way to set certain customers to not be charged tax? We have customers that have tax ID's, and when they buy from our state, the site charges them tax. Is there a way to fix this?

Stephen Page
[email protected]

pymalion
VP-CART New User

USA
80 Posts

Posted - August 02 2004 :  13:26:30  Show Profile  Visit pymalion's Homepage  Reply with Quote
I put the following in shoptax.asp after the first sub call:
dim taxtype
taxtype=Getsess("taxtype")
If Getsess("taxtype")<>"" then exit sub

Then in shop$db.asp, I put the following at the end of the Sub LocateCustomer, before the rec close.

dim strCusttaxid
strCusttaxid=rs("taxid")
If not isnull(strCusttaxid) then
Setsess "taxtype","On File"
else
strCusttaxid=""
end if

Also added a column for 'taxid', and added the additional field and description within the edit customer info table within the admin.

Stephen Page
[email protected]
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00