Gift Certificates causing fatal error when applying a coupon to them
We were testing to see that our coupon code would work, and when applying it to a gift certificate, and after entering all CC info and advancing from step 2 to step 3 it brings up this fatal error:
Warning: Division by zero in /mnt/target02/342199/342988/www.fleurdepup.com/web/content/includes/modules/order_total/ot_coupon.php on line 364
within the screen. The site is not totally broken, but the font sizes get huge, and this bit of fatal error code is displayed in the header as well as in the body above the subtotal.
if you click on confirm anyway, you are brought to an error screen that says the same fatal error from above twice and then this:
Warning: Cannot modify header information - header already sent by (output started at /mnt/target02/342199/342988/www.fleurdepup.com/web/content/includes/modules/order_total/ot_coupon.php:364)
in (/mnt/target02/342199/342988/www.fleurdepup.com/web/content/includes/functions/functions_general.php on line 44
However when we apply the same coupon code to a product other than the gift certificate, the coupon code works as expected.
What could the problem be?
Rich
[FONT="Georgia"]Rich Staats
Your snowboarding, web designing, problem solving, social networking, trying to f' with eCommerce type of Guy.[/FONT]