You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable Stores/Configuration/Sales/Sales/Minimum Order Amount
Set Minimum Amount to some number
Add "Description Message" and "Error to Show in Shopping Cart"
Clean and flush caches
Go to Frontend
Add some products so your total cart value is higher than the required minimum order amount
7a. Go to /checkout/cart/ and empty the cart (/checkout/cart/delete/)
7b. Go to /checkout/cart/ and update the amount of product so that total cart value will be under minimum order amount (/checkout/cart/updatePost/)
7c. Update/delete items in cart via minicart
7d. Update/delete items in cart via product page (/checkout/cart/updateItemOptions/id/759450/)
Expected result
/checkout/cart should be reloaded and the "Error to Show in Shopping Cart" message should pop up
Actual result
HTTP ERROR 500
/var/log/nginx/error.log/
2017/03/03 12:37:56 [error] 23927#23927: *67357 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Framework\Exception\InputException::__construct() must be an instance of Magento\Framework\Phrase, string given, called in /var/www/magento2/vendor/magento/module-quote/Model/ShippingAddressManagement.php on line 121 and defined in /var/www/magento2/vendor/magento/framework/Exception/InputException.php:51 Stack trace: #0 /var/www/magento2/vendor/magento/module-quote/Model/ShippingAddressManagement.php(121): Magento\Framework\Exception\InputException->__construct('My error Messag...') #1 /var/www/magento2/vendor/magento/module-quote/Model/Quote/ShippingAssignment/ShippingProcessor.php(66): Magento\Quote\Model\ShippingAddressManagement->assign('430809', Object(Magento\Quote\Model\Quote\Address)) #2 /var/www/magento2/vendor/magento/module-quote/Model/Quote/ShippingAssignment/ShippingAssignmentProcessor.php(76): Magento\Quote\Model\Quote\ShippingAssignment\ShippingProcessor->save(Object(Magento\Quote\Model" while reading response header from upstream, client: XX.XXX.XXX.XXX, server: www.somemagentoshop.com, request: "POST /checkout/cart/delete/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "www.somemagentoshop.com", referrer: "https://www.somemagentoshop.com/checkout/cart"
FYI
Have empty cart
add some products so you don't reach the minimum order amount
go to /checkout/cart/
It works: Expected message appears
Delete Item(s): same error again
The text was updated successfully, but these errors were encountered:
Preconditions
Steps to reproduce
7a. Go to /checkout/cart/ and empty the cart (/checkout/cart/delete/)
7b. Go to /checkout/cart/ and update the amount of product so that total cart value will be under minimum order amount (/checkout/cart/updatePost/)
7c. Update/delete items in cart via minicart
7d. Update/delete items in cart via product page (/checkout/cart/updateItemOptions/id/759450/)
Expected result
Actual result
/var/log/nginx/error.log/
2017/03/03 12:37:56 [error] 23927#23927: *67357 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Framework\Exception\InputException::__construct() must be an instance of Magento\Framework\Phrase, string given, called in /var/www/magento2/vendor/magento/module-quote/Model/ShippingAddressManagement.php on line 121 and defined in /var/www/magento2/vendor/magento/framework/Exception/InputException.php:51 Stack trace: #0 /var/www/magento2/vendor/magento/module-quote/Model/ShippingAddressManagement.php(121): Magento\Framework\Exception\InputException->__construct('My error Messag...') #1 /var/www/magento2/vendor/magento/module-quote/Model/Quote/ShippingAssignment/ShippingProcessor.php(66): Magento\Quote\Model\ShippingAddressManagement->assign('430809', Object(Magento\Quote\Model\Quote\Address)) #2 /var/www/magento2/vendor/magento/module-quote/Model/Quote/ShippingAssignment/ShippingAssignmentProcessor.php(76): Magento\Quote\Model\Quote\ShippingAssignment\ShippingProcessor->save(Object(Magento\Quote\Model" while reading response header from upstream, client: XX.XXX.XXX.XXX, server: www.somemagentoshop.com, request: "POST /checkout/cart/delete/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "www.somemagentoshop.com", referrer: "https://www.somemagentoshop.com/checkout/cart"
FYI
The text was updated successfully, but these errors were encountered: