Summary:
Reduce order total by a specified dollar figure breaks the Orders billing form
Detailed Description:
When adding a "Reduce order total by a specified dollar" coupon to the cart, I
got a blank page in {Orders}
Here's the error:
Fatal error: Uncaught Error: Call to undefined method
cg_ecomm_promotion_match::get_discount_amount() in
/home/web/public_html/www/modules/Orders/lib/abstract.base_order_factory.php:239
I can change « get_discount_amount » with « get_discount_amt », I got :
Fatal error: Uncaught TypeError: Argument 1 passed to
Orders\Destination::add_item() must be an instance of Orders\LineItem, instance
of cg_ecomm_cartitem given, called in
/home/web/public_html/www/modules/Orders/lib/class.order_maker.php on line 373
Percentage promotions seems to be OK
Thanks