Skip to content

Wrong price is synced in data exporter for bundle products #39697

Open
@zhovnirigor

Description

@zhovnirigor

Preconditions and environment

  • Magento version 2.4.7-p4
  • Bundle product is created with variation price set on both default and website level. Prices on default and website level must differ.

Steps to reproduce

  1. Run a catalog_data_exporter_products reindex.
  2. Debug a query composed in \Magento\BundleProductDataExporter\Model\Query\BundleProductOptionValuesQuery::getQuery

Expected result

  1. price_value for the variation of the bundle product in the result is taken from the website level if set, not default level. This means it is taken from catalog_product_bundle_selection_price table. The price set only on default level is taken from the default level (= from catalog_product_bundle_selection table).

Actual result

  1. price_value for the variation of the bundle product in the result is always taken from the default level, not website level - even if set on website level. This means it is always taken from catalog_product_bundle_selection table, never from catalog_product_bundle_selection_price table.

Additional information

Patch fixes this problem (patch assumes the installation is done in 'vendor' folder).

bundle.patch.zip

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: On HoldReported on 2.4.7-p4Indicates original Magento version for the Issue report.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

Type

No type

Projects

Status

On Hold

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions