View Single Post
  #12  
Old 02-28-2004, 03:20 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

Quote:
Originally Posted by verbic
Code:
# # Calculate total # $total+=$shipping_cost+$tax_cost+$tax_gst+$tax_pst+$giftcerts_cost;
And replace it with:
Code:
# # Calculate total # if ($customer_info[membership] == 'Wholesale') $tax_cost = 0; $total+=$shipping_cost+$tax_cost+$tax_gst+$tax_pst+$giftcerts_cost;

The added line unconditionaly set US taxes to zero if membership is Wholesale.

Dmitry,

Would this work?

Code:
if ($customer_info[membership] == 'Reseller') $tax_pst = 0; $total+=$shipping_cost+$tax_cost+$tax_gst+$tax_pst+$giftcerts_cost;

I want to make PST ZERO if membership is Reseller.
Reply With Quote