taxes not calculating

greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread

I've set the configuration for adding taxes to

$tax = "1";

$taxamt = "0";

if ($tax eq '1') { %taxes = ('CA','.0825') }

However the tax is not added when I recalculate, after selecting the PA option from the tax select field (PA +6%).

Is there some other configuration I need to set?

Please reply to me at http://www.searchmed.com/mart/Ultimate.cgi a forum I set up for s-mart where I am collecting mods and complete overhauls

the files are at http://www.searchmed.com/mart/

-- scott bakalor (scott@hijinks.com), November 07, 1998

Answers

on this part of the code if ($tax eq '1') { %taxes = ('CA','.0825') } eliminate the '' arround the CA and I think it will work. Also see the post above yours for more info on tax problems

-- Joe Bifano (Joe@woodease.com), November 07, 1998.

still does not work without the ' '

-- scott@hijinks.com (scott@hijinks.com), November 07, 1998.

Moderation questions? read the FAQ