VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 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-ASP 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-ASP 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