Skip to content

Magento 2.4.8 - REST API row_total does not calculate correctly (missing qty) #39984

Open
@dcajio

Description

@dcajio

Preconditions and environment

  • Magento 2.4.8

Steps to reproduce

a93542b

Before this commit getTotalAmount($item) took into account the qty of the item because it used $item->getRowTotal(). After that commit it no longer does leading to the row_total in the REST API not accounting for qty.

Expected result

row_total in REST API would be take into account the qty of the item.

Actual result

row_total in REST API does not take into account the qty of the item.

Additional information

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

Labels

Issue: needs updateAdditional information is require, waiting for responseReported on 2.4.8Indicates original Magento version for the Issue report.

Type

No type

Projects

Status

Needs Update

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions