Skip to content

Can't delete last item in cart if Minimum Order is Enable  #6151

Closed
@philipvandebriel

Description

@philipvandebriel

Preconditions

Update magento 2.0.8 to Magento 2.1
Debian Jessie
Mysql 5.6
Php 5.6

  1. Put item in cart
  2. Try delete item , after popup error

Steps to reproduce

  1. Go to admin -> SALES -> sales
  2. Enable -> Minimum Order Amount
  3. Minimum Amount = 10 or something

Expected result

  1. After remove product from mini cart then the cart need to be empty

Actual result

  1. Last product stay in the cart can't remove
    Try to remove the item then we get this error :

Recoverable Error: Argument 1 passed to Magento\Framework\Exception\InputException::__construct() must be an instance of Magento\Framework\Phrase, string given, called in /var/www/clients/client1/web1/web/vendor/magento/module-quote/Model/ShippingAddressManagement.php on line 121 and defined in /var/www/clients/client1/web1/web/vendor/magento/framework/Exception/InputException.php on line 51

If disable Minimum Order Amount then everything is fine.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions