0

When I try place order, it show "Please choose a valid discount amount." 2.3.4

2
  • check the error log ... Commented May 7, 2020 at 11:51
  • Thank @MohitPatel, I have checked log but there are no error. Commented May 7, 2020 at 12:21

1 Answer 1

1

Section responsible for that error looks like

        // Check if discount amount not negative
        if ($this->hasDiscountAmount()) {
            if ((int)$this->getDiscountAmount() < 0) {
                throw new \Magento\Framework\Exception\LocalizedException(__('Please choose a valid discount amount.'));
            }
        }

Check your cart rules after migration cause this error is thrown when applied discount amount is less than 0.

1
  • Thank you! I found the issue is I have a Catalog Price Rule have Discount Amount is "-12". Commented May 8, 2020 at 3:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.