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