Coldfusion CFIF help - TechRepublic
General discussion
July 12, 2005 at 03:48 PM
emcounts

Coldfusion CFIF help

by emcounts . Updated 18 years, 11 months ago

Customers receive a percentage discount on a sliding scale for certain products, otherwise receive the overall web discount price of 5%.

Here is the scale:
1 – 99 pieces = 5%, 100 – 249 = 7%, 250 – 499 = 8%, 500 – 999 = 9%

The code is working and giving the overall of 5%; however, for those products I’ve specified in the discount.cfm file, it does not give the discount. If I change insert_part.cfm file from LT to GT, they get discount, but the other products don’t receive overall discount. 2 files are not working together.

INSERT_PART.CFM (NOTE: part file)









DISCOUNT.CFM







MULTIPLIER.CFM










This discussion is locked

All Comments