Skip to content

[Issue] ISSUE-20004: Refactoring minimum order amount including tax value in the calculate #33490

Closed
@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #33327: ISSUE-20004: Refactoring minimum order amount including tax value in the calculate


Description (*)

It fixes the issue reported when the tax value was not taking account when the minimum order amount was blocking the customer proceed to checkout even when the grant total of the cart was bigger than the minimum order amount value.

Related Pull Requests

#33316

That PR has been closing by me due to some confusion author for the commits.

Fixed Issues (if relevant)

  1. Fixes Enable Minimum order amount with Include Tax to Amount configuration. it's not working on magento 2 default functionality. #20004

Manual testing scenarios (*)

  1. See Enable Minimum order amount with Include Tax to Amount configuration. it's not working on magento 2 default functionality. #20004

Questions or comments

I have created a new boolean field (is_minimum_order_amount) on the Magento/Quote/Api/Data/TotalsInterface.php that can impact positively the APIs that returns that entity. It will include a flag that indicates if the quote's total value is bigger than the minimum order amount.

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
  • All automated tests passed successfully (all builds are green)

Metadata

Metadata

Assignees

Labels

Component: CheckoutComponent: QuotePriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions