Here's what I have:
Code:
$sc_city_tax_variable = "Ecom_ShipTo_Postal_Code";$city_variable = $form_data{$sc_city_tax_variable};
if ($city_variable =~ /05863, 05855, 05473/i) { # replace city name with yours
$city_tax = ($subtotal *0.01); # replace decimal values with your tax amount
}
I only tried 3 at a time. I assume there are 2 errors. #1... might be the variable "Ecom_ShipTo_Postal_Code"... should that be something else for the zip code? #2... can I just use commas to seperate the zip codes?
Is this supposed to show up in the shopping cart... because I only see state tax right now... no city tax showing up - I'm doing something wrong.
Please help! We want to go live asap. I can post URL if needed... but it contains original watercolor paintings or nude models.
Thanks in advance,
Josh