Skip to content

The default luma logo is shown on frontend order print page #34942

Closed
@ihor-sviziev

Description

@ihor-sviziev

During migration from Magento 2.3.x to 2.4.3-p1 we noticed an issue - the print order/invoice/credit memo pages (on frontend) started showing a default luma logo instead of the logo that is shown on the entire website.

Preconditions (*)

  1. Magento 2.4.3
  2. Luma theme
  3. Set custom logo in the header on the frontend

Steps to reproduce (*)

  1. Go to the frontend
  2. Place some order
  3. On the frontend go to My Account > My Orders > View Order > Print Order

Expected result (*)

  1. If you explicitly defined a custom logo for emails - that logo should be shown (the highest priority) - Config path sales/identity/logo_html
  2. If you specified a custom frontend logo - that logo should be shown (medium priority) - Config path design/header/logo_src
  3. If you didn't specify both custom logo for emails and frontend logo - the default luma should be shown (the lowest priority)
    The same flow should be for invoices and credit memos.

Actual result (*)

  1. If you explicitly defined a custom logo for emails - that logo should be shown (the highest priority) - ✔ works fine
  2. If you specified a custom frontend logo - that logo should be shown (medium priority) - ❌ doesn't work, but worked on Magento 2.3.7-p2.
  3. If you explicitly defined a custom logo for emails - that logo should be shown (✔ works fine)

Additional info

The issue appeared after the following commit: 4531c76
It had to fix the case when the first option didn't work fine.


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • 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

Area: FrameworkComponent: Framework/AppIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneReported on 2.4.3-p1Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: 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