let me just say of all the plugins i have attempted to use for zen-cart, this author does a KILLER job. thank you.
this plugin, IMHO, makes the shopping experience on zen-cart far superior.
given all of that i have found a small BUG, that i think needs addressing. say, a customer places an order and uses a coupon that has a minimum value on it. the order meets the minimum value and the coupon gets accepted. prior to submitting the order, the customer edits his cart and removes some items so that the order now no longer meets the minimum order requirement for the coupon. the customer can still continue to check out with the existing coupon as it does not get re-validated.
i have tracked the problem down to includes/modules/pages/fec_confirmation/header_php.php
if the following two lines:
Code:
$order_total_modules->collect_posts();
$order_total_modules->pre_confirmation_check();
were moved to somewhere AFTER this line of code:
Code:
$discount_coupon = $db->Execute($discount_coupon_query);
i think this problem would be resolved.
those lines are currently on lines 139 and 140; they need to be called after line 243.
best.
Bookmarks